let's produce a utility script - migrate folders from an external drive

let's build a new utility script (・‿・✿)

for this script, i would like to migrate folders from an external drive to the desktop PC. i frequently use a drive to store content files from my phone and tablet to transfer them to the computer, so a script can help simplify this process.

here is the code:

from the code, it is mainly just displaying information on drive(s) and folder(s) and prompting for inputs to select them. then the folders are moved to the local path and removed from the source drive.

when combining the script with a keyboard shortcut, migrating files is as easy as plugging in the drive, running the script, and removing when finished.

a screenshot of running the script:

🔙 back to longposts