Exclude hidden files/folders from backup

Greg Hamilton yellowdog-general@lists.terrasoftsolutions.com
Thu Mar 25 16:21:01 2004


find backup_dir ! -regex ".+/\\..+"

Replace backup_dir with the root directory of your backup.
Your mileage may vary. My regex skills are craptacular.

On 26/03/2004, at 3:19 AM, Dene Stringfellow wrote:

> Does anyone know how I can exclude hidden directories and files
> (.AppleDouble and .AppleDesktop for example) from a daily backup?
>
> Thanks in advance.
>
> Dene Stringfellow
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
> HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'
>