Hi, is there a way to copy files using terminal in a sorted order? I am doing this so I can track progress as well as getting the correct date-created in the destination folder.
So here is the problem.:
In folder SOURCE, I have 3 files: FileA, FileB, FileC. I want to copy the files in this folder to folder TARGET but I want terminal to copy FileA first and then FileB & FileC. I am using (rsync -r --progress) to copy to check the progress status. Is there anymore command I could add so that I can copy them in in a certain order? (alphabetical preferred).
Thanks!
[doublepost=1473151360][/doublepost]I sort of answering myself. rsync seems to be transferring files in a sorted order by default.
So here is the problem.:
In folder SOURCE, I have 3 files: FileA, FileB, FileC. I want to copy the files in this folder to folder TARGET but I want terminal to copy FileA first and then FileB & FileC. I am using (rsync -r --progress) to copy to check the progress status. Is there anymore command I could add so that I can copy them in in a certain order? (alphabetical preferred).
Thanks!
[doublepost=1473151360][/doublepost]I sort of answering myself. rsync seems to be transferring files in a sorted order by default.