Re: Excluding folders in rsync command?
- From: "J.A. de Vries" <hdv.jadev@xxxxxxxxx>
- Date: Sun, 15 Jan 2012 23:02:00 +0100
is it possible to exclude directories/folders from a rsync command
please? i know you can do files using a wildcard like *.avi, but is it
possible to exclude e.g. /home/boztu/videos ?
You can use the --exclude option if you want to specifiy the directory from the
commandline. If you want to do it in a filter file just use the name of the
directory and prepend it with a minus. Like so
+ .rsync
- .rsync/logs
HTH
Grx HdV
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/201201152302.01207.hdv.jadev@xxxxxxxxx
- Follow-Ups:
- Re: Excluding folders in rsync command?
- From: Rob Owens
- Re: Excluding folders in rsync command?
- References:
- Excluding folders in rsync command?
- From: Sharon Kimble
- Excluding folders in rsync command?
- Prev by Date: Re: Excluding folders in rsync command?
- Next by Date: Re: Suggestion: Please change rights of cpufreq-set by default
- Previous by thread: Re: Excluding folders in rsync command?
- Next by thread: Re: Excluding folders in rsync command?
- Index(es):
Relevant Pages
|