Morning Terry,

> "Remove Extra Files: Ensure the USB stick contains only music files
> and no additional folders or hidden files."

‘cd’ to the USB stick's mount point.  Make sure you're in the right
place as otherwise you will wreck havoc.  Then:

    find -type f -exec mv -i -t $PWD {} +
    find -depth -type d -exec rmdir {} +

This assumes there are only files and directories on the USB stick so
moving the files leaves the directories empty.  And it passes -i to
mv(1) so it will complain if it's overwriting a file; perhaps you have
files with the same name in different directories.

Could it be the Mini doesn't like the USB stick's filesystem?

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2025-07-01 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  https://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to