Results 1 to 1 of 1
I'm writing script using rsync to backup files. However, is it possible to copy the parent directory of the file?
E.g.
rsync -rvae /usr/bin/ssh backuppc@testing:/etc/passwd /backup
When I checked backup, ...
- 01-25-2008 #1Linux Newbie
- Join Date
- Mar 2006
- Posts
- 101
save parent directory in rsync
I'm writing script using rsync to backup files. However, is it possible to copy the parent directory of the file?
E.g.
rsync -rvae /usr/bin/ssh backuppc@testing:/etc/passwd /backup
When I checked backup, it has passwd files. Can it be possible that also the etc folder will be download and the files inside is only passwd?


Reply With Quote