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

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Sync folders?  (Read 3352 times)
mhulse
Newbie
*
Posts: 7


View Profile
« on: March 26, 2010, 04:48:22 PM »

Hi,

I love this utility.

Just curious, how would I sync sub-folders?

/usr/local/bin/ruby /path/to/s3cmd/s3sync.rb -r -p --delete --verbose /path/to/folder/ bucket:folder

If I add/remove sub-folders, I do not see the sync mirroring that sub-folder creation/deletion.

Is this possible? Smiley

Thanks a billion in advance!

Cheers,
Micky
Logged
Admin
Administrator
Newbie
*****
Posts: 10


View Profile
« Reply #1 on: March 26, 2010, 10:54:42 PM »

The -r flag should take care of it from local->s3, but maybe by "folders" you mean you are creating S3 nodes.  s3sync doesn't parse the folder syntax used by other tools, so if you use them to make your folders on s3 then my tool won't understand them properly.
Logged
mhulse
Newbie
*
Posts: 7


View Profile
« Reply #2 on: April 07, 2010, 06:38:30 PM »

Hi!

I did not not get an e-mail that you replied to my message... Sorry for my late reply. Sad

Anyway, thanks so much for your reply!

You are right. These folders were probably created by Transmit FTP app on the Mac.

Thanks so much for the clarification! This tool has been a huge time saver. Smiley

Have an excellent day!
Cheers,
Micky
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!