How to ZIP a folder and name the ZIP file by date string?

Welcome to BestSync Support Forum!
If you have any questions, comments, concerns, suggestion, please summit here, we'll try to reply you in short time.
Thank you!
Post Reply
i-Ask
Posts: 22
Joined: Wed Jun 06, 2012 1:26 pm

How to ZIP a folder and name the ZIP file by date string?

Post by i-Ask »

Can BestSync do the following? Once a day automatically zip a bunch of files with a certain date to a single file. Once file is zipped upload the zipped file to AWS S3
RiseFly
Site Admin
Posts: 1077
Joined: Tue Nov 03, 2009 2:51 pm

Re: How to ZIP a folder and name the ZIP file by date string

Post by RiseFly »

Yes, you can setup two tasks to zip a folder named by the date string, then upload the zip file to AmazonS3.
Task1:
Folder1: A local folder.
Folder2: A ZIP file. Name like this:
C:\Folder2\<date:MMddyyyy>.zip
For the detailed format of the time string, please refer to the following URL: http://www.risefly.com/help/TimeFormat.htm
In "Application" setting, run the following Task2 after synchronization.
Task2:
Folder1: The folder that contains the above zip file
Fodler2: Amazon S3 bucket
Post Reply