I am working on HP Unix. Require a script for the below requirement.
Requirement are:
- Need to create a folder with files.
- The folder should have a naming convention like -
LRIC_ARCHIVE_ddmmyyhhmmss_version_nnn
, the version number needs to be selected from an oracle table.
3. When the folder is created the files from the working directory path /usr/lric/data.. to be moved to the newly created folder, making the above folder empty.
Please do let me know if I had not been able to clarify the requirements.