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: 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%
router343

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 post.db.bank.fri.20171006 and pre.db.bank.fri.20171006 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.