S3Sync.net
February 02, 2014, 01:39:07 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / Feature Requests / Re: --exclude on: February 16, 2007, 03:37:23 PM
Yes, please! I recall seeing in the forever-long AWS thread that you had a patch - I'd be willing to test if you'd send me a new version of the script. I would love this even more if there were a way to exclude a given directory name, in all subdirectories.

Example:
Given this directory structure:
Code:
/home/user1/dir1
/home/user1/dir2
/home/user1/dir3
/home/user2/dir1
/home/user2/dir2
/home/user2/dir3

And this command:
Code:
~>./s3sync.rb -r --delete --exclude dir2 /home mybucket:

Everything except /home/user1/dir2 and /home/user2/dir2 would be sync'd to S3.

Can we make this happen?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!