Before posting, and to avoid disappointment, please read the following:

  • This forum is not for 2BrightSparks to provide technical support. It's primarily for users to help other users. Do not expect 2BrightSparks to answer any question posted to this forum.
  • If you find a bug in any of our software, please submit a support ticket. It does not matter if you are using our freeware, a beta version or you haven't yet purchased the software. We want to know about any and all bugs so we can fix them as soon as possible. We usually need more information and details from you to reproduce bugs and that is better done via a support ticket and not this forum.

Folder with Date

For technical support visit https://support.2brightsparks.com/
Post Reply
Ryaxx
Newbie
Newbie
Posts: 1
Joined: Tue Jul 10, 2018 7:00 am

Folder with Date

Post by Ryaxx »

Hello

i just purchased syncbackpro v 8 and i was wondering if when a ftp backup was planned at night, can you create a folder automatically with the format YYYYMMDD year month day.

thank you
cliffhanger
Expert
Expert
Posts: 606
Joined: Tue May 31, 2011 5:59 pm

Re: Folder with Date

Post by cliffhanger »

Hi, yes - by using Variables such as %DATE% (or, components of a DATE) in the Destination path, e.g.

X:\main folder\%DATE%\
X:\main folder\Backup_%DATE%\

Note how you can use the Variables as all or part of a path/name component.

Help > Search > 'variables' for a full list, including 'components' you can use to make a DATE in a different format, such as %YEAR%, %MONTH% and %DAY% to achieve 'YYYYMMDD (and so on). You can add separator characters such as '_' or [space] by using exactly those symbols in the profile's Destination string, e.g.

X:\main folder\%YEAR%_%MONTH%_%DAY%\
X:\main folder\%YEAR% %MONTH% %DAY%\

if you prefer. Naturally you cannot use 'filename/path-illegal' (i.e. 'reserved') characters such as / or \ in any way.
cliffhanger
Expert
Expert
Posts: 606
Joined: Tue May 31, 2011 5:59 pm

Re: Folder with Date

Post by cliffhanger »

PS

Using %DATE% will produce a result that is formatted as per your Windows Short Date format (including any separator characters defined in that setting). Naturally Short Date is a system-wide setting so it is probably best to avoid juggling the Short Date format centrally and instead use the SB's DATE components to build your own date format for use within SB
Post Reply