Is there a command to copy music files in order?
I need to copy MP3s which are in folders by "Artist - Album" to a USB stick.
The MP3s must be copied in order, for example 01 Can You Feel It.mp3 should be copied before 02 Skyway.mp3.
|
Is there a command to copy music files in order? I need to copy MP3s which are in folders by "Artist - Album" to a USB stick. The MP3s must be copied in order, for example |
|||||
|
|
This bit of code should do what you're looking for. Modify the
ETA: This might only work on a single directory at a time, but you can try |
|||
|
|
|
If you can't find any ready-to-use software to do this, you can very easily write one. In python, a script to recursively copy all files with there respective folders to a new folder in order, could look like this:
You could just save it somewhere (e.g. as "copyinoder"), make it executable (e.g.
Note that in this case the "DavidBowie" folder will not be recreated. Note also, that if the files are not as nicely named as in your example, then |
|||
|
|
|
You can't copy files in order with commandline or nautilus. But you can use midnight commander to copy some files in order. Install it on terminal with this command:
|
|||
|