rdiff-backup-users
[Top][All Lists]
Advanced

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

Re: [rdiff-backup-users] excluding hidden files


From: Ben Escoto
Subject: Re: [rdiff-backup-users] excluding hidden files
Date: Mon, 10 Mar 2003 16:24:34 -0800

>>>>> "DP" == Dave Poirier <address@hidden>
>>>>> wrote the following on Mon, 10 Mar 2003 14:49:15 -0800

  DP> I have an application where I need to back up everything but
  DP> hidden files.  I tried the --exclude ".*", and other variants,
  DP> but I understand that is essentially telling rdiff-backup to not
  DP> backup anything, hence the errors.  Does anyone know of an easy
  DP> way to exclude the hidden files?  I did try the filelist with no
  DP> luck.  It seemed to ignore anything that was preceded by a "."
  DP> Thanks in advance.  Keep up the great work!!!  Dave

The "." shouldn't be a wildcard character, so --exclude
"source_dir/.*" should exclude hidden files in the source directory.
--exclude "**/.*" should exclude all hidden files.


-- 
Ben Escoto

Attachment: pgpWbi6lUY25W.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]