I wonder if I may get a little advice on the best tools/utilties to use to make a script that will:
- take in a list of directories that contain audio files `find’ can do this]
- randomly shuffle the list
shuf' or
sort’ can do this] - copy them to PMP personal-media-player
cp' or
rsync’] - stop when 7.5G have been transfered ???]
What would be the best way gauge how much data I’ve transferred? Does rsync provide this? Can I use a `while data -lt $MAXSIZE ]’ in some way?
This script needn’t be fool/bullet proof.