Re: Questions with rsync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[
I would pretty much recommend that you specifically omit /dev and /proc
too.

Save the filter to a text file and make it look something like this (I
like the first one but you might not). + and - symbols should be
obvious.

- ~*
- /lost+found/
+ **/home/user/backup

rsync -vpa --filter='. /path/to/rsync-filter' $source $destination

I didn't think '-a' option indicates compression at all, only 'archive'
and you might want '-u' option for update.

Craig
]

So what would be the final command if I exclude these directory?

/lost+found
/media
/mnt
/dev
/proc
/home/user/backup
/dev

Thanks.


      

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux