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.

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)


Topic review


Re: Copy files

So use post* mask.

get post* -filemask=*>=%TIMESTAMP#yyyy-mm-dd%

Note that your code does not download files that end with current date, but files that have modification timestamp from the current date. What may in the end do the same, I just wanted to make sure understand that.

To download files that start with post and ends with current date use:

get post*%TIMESTAMP#yyyy-mm-dd%

Copy files

I have 3 files that i want to copy from AIX server to local drive every night automatically. the file names all end with the current day example and The script i have pulls the 3 files that start with post and the 3 files that start with pre from the current date. i just want to copy the 3 files that start with post. I have attached the script and an image of the files in the directory. Like i said the script works, but i just want the 3 post files.