Post a reply

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

kalakala

Found it

Hi,
I've just found the way to resolve the above problem with this command
put -delete -filemask=<1W
kalakala

Put -delete but keep files from a week upto now in the source

Hi,
I use winscp command and success with moving log from source to destination by the following command:
put -delete "E:\Logs\*" "/Backup/"

And I and schedule it by using Task Scheduler on Windows.
Everyday, at a specific time, logs from sources are all moved while the task runs.
But each day, I want to keep logs from 7 days before the time when the task runs in the source instead of moving them to the destination.
So, which option can I use with the command to resolve it?
Thank you all for your help.