I have a script to run rsync.
#!/bin/sh
sudo mount -t smbfs -o username=jon,mode=755,uid=1000 //192.168.2.2/jon/ /mnt/ting
sudo rsync --verbose --progress --stats --compress --rsh=/usr/local/bin/ssh --recursive --times --perms --links --delete --exclude "*bak" --exclude "*~" /home/jon/ /mnt/ting/
I have saved it as 'rsyncscript' on the Desktop. Right click, choose Properties and tick 'Make it executable'
I click it, double click it, go into Konsole and type 'rsyncscript'
Nothing seems to happen. How should I run it, please?
#!/bin/sh
sudo mount -t smbfs -o username=jon,mode=755,uid=1000 //192.168.2.2/jon/ /mnt/ting
sudo rsync --verbose --progress --stats --compress --rsh=/usr/local/bin/ssh --recursive --times --perms --links --delete --exclude "*bak" --exclude "*~" /home/jon/ /mnt/ting/
I have saved it as 'rsyncscript' on the Desktop. Right click, choose Properties and tick 'Make it executable'
I click it, double click it, go into Konsole and type 'rsyncscript'
Nothing seems to happen. How should I run it, please?
Comment