Title pretty much says it i’m looking to add a line to a script i’m working on that would copy a random file from a directory say ~/Desktop/old and paste it into another folder say ~/Desktop/new. I only want to move one file to the new folder each time the script is run i googled around and only found solutions to echo a random file but couldn’t figure out how to copy a random one thank you for any help with this problem
Share
Most of these answers worked when run from terminal on my computer however none of them worked on terminal for android so i ended up writing it in java thank you to all that have helped