Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a delay and copying sequentially using cp

Status
Not open for further replies.

stla

IS-IT--Management
Mar 12, 2003
190
0
0
DE
My goal is to copy the contents of a directory from one folder to another, however I want to copy them in a certain order and only one at a time.

The objective is to write a script to automates this so that the the first file to be copied is that with the name of the highest numerical value. Once this is copied the file with the second highest numerial value is copied an so on.

Is this possible at all using 'cp'?

Best regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top