Not sure, whether this is the right forum, so move if necessary.
I would like to create a batch script with rsync commands to perform regular semi-manual backups. I would like to start the script manually, which would then perform several rsync commands and I could see the terminal window as they were running.
I tried with automator, which kinda works, but I can't see the results (they do what they're supposed to do, but with no feedback).
Then I tried a shell script. Put a #!/bin/bash on a beginning of txt file and running it in terminal, but it doesn't work. What am I doing wrong?
The script is just 3-4 rsync commands:
rsync -va --delete /Users/........./Downloads/ /Volumes/backup......
rsync -va --delete /Users/...../Dropbox/ /Volumes/backup......
rsync -va --delete /Users/..../Library/Services/ /Volumes/backup.....
rsync -va --delete /Users/...../Music/ /Volumes/backup.....
Thanks in advance!
I would like to create a batch script with rsync commands to perform regular semi-manual backups. I would like to start the script manually, which would then perform several rsync commands and I could see the terminal window as they were running.
I tried with automator, which kinda works, but I can't see the results (they do what they're supposed to do, but with no feedback).
Then I tried a shell script. Put a #!/bin/bash on a beginning of txt file and running it in terminal, but it doesn't work. What am I doing wrong?
The script is just 3-4 rsync commands:
rsync -va --delete /Users/........./Downloads/ /Volumes/backup......
rsync -va --delete /Users/...../Dropbox/ /Volumes/backup......
rsync -va --delete /Users/..../Library/Services/ /Volumes/backup.....
rsync -va --delete /Users/...../Music/ /Volumes/backup.....
Thanks in advance!