rsync help!
hi
iam running rsync and i want to backup my entire disk to another disk but there are certain directory that i do not want to be copy(skip).....how do i tell rsync to ignore certain directory? :-) thks |
Hi,
If you just have one dir to exclude, use something like this... rsync -avz -e ssh --exclude '/mnt/backup' /mnt/tech root@sony:/mnt If you have several directories to exclude, put them in a list... rsync -avz -e ssh --exclude-from=list.txt /mnt/tech root@sony:/mnt |
All times are GMT -5. The time now is 05:55 PM. |