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
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