Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Custom Commands - insertering date

WinSCP cannot do this, but you probably can achive the same result using shell function.

Something like following command can help:

cp ! /backup/!`date +%Y%m%d`
VelvetJones

Custom Commands - insertering date

Hi, I've made a custom command that makes a backup copy of the file in question. Is there anyway to have it append the file with the date for example:

test.txt

would get a backup copy

test.txt.20040924

?

Your response is greatly appreciated.

James