[CentOS] exclude directory from rsync
Tim Dunphy
bluethundr at gmail.comTue Jun 9 05:12:24 UTC 2015
- Previous message: [CentOS] centos 7 will not install :(
- Next message: [CentOS] exclude directory from rsync
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
hey guys, I'm trying to do an rsync of the entire /var directory, but exclude just the /var/www directory. So far I've tried these approaches: rsync -avzp --exclude-from=/var/www /var/ /mnt/var/ rsync -avzp --exclude=/var/www /var/ /mnt/var/ But neither has worked. Can I get a suggestion on how to get this to happen? Thanks, Tim -- GPG me!! gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
- Previous message: [CentOS] centos 7 will not install :(
- Next message: [CentOS] exclude directory from rsync
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list