Is there a way for RSYNC when its backing up a folder say c:\output to ignore certain file extentions as a whole...so basically ignore all other files EXCEPT *.gpg files?? the file extensions are all random so it might be thisone.th, thatone.pz, etc...but when I encrypt them all the files are encrypted an have the .gpg extension so basically I have thisone.th and thisone.th.gpg, thatone.pz and thatone.pz.gpg
On Thu, Feb 10, 2005 at 09:40:20AM -0800, jediknight2 wrote:> Is there a way for RSYNC when its backing up a folder say c:\output to > ignore certain file extentions as a whole...so basically ignore all other > files EXCEPT *.gpg files?You can exclude all files except *.gpg files from the transfer (using --include='*.gpg' --exclude='*'), but there is no way to limit what files get backed up -- all updated files are backed up when --backup is specified. ..wayne..