Scripting for downloading Folder & Files from remote server
I am needing to download folders & files from a remote linux server to a network drive.
I have my drive mapping working in my script but I am unable to get the file/directory masks working correctly.
Basically the remote linux server does a database backup at 2:00am every day and I want to copy the created folder every day at 2:30am after the remote server tasks finishes.
The remote directory already has many folders in it from the daily tasks running for over a year. I don't need to copy all of those going forward, I only need the newest folder created each day.
Someone help me out.
Brandon
I have my drive mapping working in my script but I am unable to get the file/directory masks working correctly.
Basically the remote linux server does a database backup at 2:00am every day and I want to copy the created folder every day at 2:30am after the remote server tasks finishes.
The remote directory already has many folders in it from the daily tasks running for over a year. I don't need to copy all of those going forward, I only need the newest folder created each day.
Someone help me out.
Brandon