Last week, I wrote about Python scripts for duplicating files and folders.
Those scripts work well. However, not everyone is comfortable working with Python, and they might not want to learn how to use it just for the purpose of being able to copy files and folders quickly.
For those in the Apple ecosystem, Shortcuts provides a way to accomplish the same duplication tasks.
Assuming you have a file containing the new file names, the steps to duplicate a file are fairly straightforward:
That’s it. The shortcut is available here for those who’d like to use or adapt it: Duplicate File. It will work on Mac, iOS, and iPadOS devices.
Duplicating a folder works almost identically. That shortcut is available here: Duplicate Folder. The only differences between this shortcut and Duplicate File are:
The Duplicate Folder shortcut will copy a folder’s entire structure, so if it contains subfolders, those will also be copied. Only the top-level folder will be renamed.
Like Duplicate File, the Duplicate Folder shortcut works on Mac, iOS, and iPadOS.
If you don’t want to keep the original file name as part of the new name, you can remove this step from the shortcut. If I’m copying something like a marking sheet, the original file name will contain the name of the assignment, and I want to keep it as part of the new file name so that I know which assignment the marking sheet is for.↩︎
If you don’t want to keep the original file name as part of the new file name, newfilename will do.↩︎