Hi,
I was wondering if someone tell me if its possible to exclude files by name?
ex: I have a folder named users inside that folder i would only want to backup 2 of the 3 files inside as there really big files. one is name data.sldprt the other named zeus.sldprt those and the 3rd one which is name apolo.sldprt i dont want to backup apolo.sldprt just the data and zeus files is there a way i can exclude apolo.sldprt? I was reading the documentation and i was guessing maybe something like this?
You can use --exclude to to not backup the specified file or path. Use --exclude-file to specify a file which contains one or more patterns to be excluded.
In your case it would suffice to use --exclude /path/to/file/apolo.sldprt.