Results 1 to 2 of 2
  1. #1

    Question rsync --exclude=FILE will not work for me

    i'm trying to use an exclude file for my rsync backups, instead of having a huge, long command.

    this is my command:

    rsync -av --exclude-from=/etc/rsyncexclude -e ssh /home /etc /var /usr [email protected]

    i have a file name rsyncexclude in /etc. it simply contains the following lines:


    and so on....

    it is NOT excluding any of the files or folders that i specify in the file. am i doing something wrong?
    Vagrant Web Hosting - U.S. / CANADA
    Website Hosting - Website Development - Content Management
    NEW: Windows Hosting w/ ASP.NET

  2. #2
    Join Date
    Jan 2005
    I think you're missing the --delete on the command.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts