S3Sync.net

General Category => Questions => Topic started by: lmayne on April 02, 2009, 04:13:55 AM



Title: Create folder, but exclude files
Post by: lmayne on April 02, 2009, 04:13:55 AM
Hello,
Is it possible to create a folder but exclude the files within the folder from being uploaded to S3 using s3sync? I have a web app which has a temporary folder, and I need the temp folder to be created but not files within it.

I've tried using --exclude="TempFolder$", which will not create the folder or the files, but --exclude="TempFolder\/$" or --exclude="TempFolder\/.*" doesn't work.