We are looking to design a script that copies data files from a specific directory where the name of the directory changes based on date.
Today = servershare041210datafile.dat
Tomorrow = servershare041211datafile.dat
Each day the system creates a new directory according to the system data (e.g., 041210) that replaces (deletes) the previous days directory.
The system then dumps a data file, datafile.dat, into said directory.
We need to create a script that will copy the daily dump from the continuously renamed directory to a central static directory.
Any ideas would be greatly appreciated. We are not too particular to the programming platform and are will to entertain 3rd party tools as well.
Thanks in advance.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:email@example.com
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: