Batch rename files to numbers before uploading to cloud drives, then restore original names after downloading.
Only renames files in the current folder. Subfolders and file extensions are not affected.
macOS / Linux should also work but not tested.
Requirements: MT Manager with shell extension pack, or Termux
- Copy
filemasker.shinto the target folder - Open with MT Manager shell / Termux and run:
chmod +x filemasker.sh
./filemasker.shRequirements: Windows 7 or above (PowerShell built-in)
- Copy
filemasker.ps1into the target folder - Right-click
filemasker.ps1→ Properties → check Unblock at the bottom → click OK - Right-click
filemasker.ps1→ Run with PowerShell
| Option | Action |
|---|---|
1 |
Scan and record MD5 of all files |
2 |
Rename all files to numbers (1.mp4, 2.mp4...) |
3 |
Restore original filenames |
4 |
Show current status |
0 |
Exit |
Press Enter after each operation to return to the menu.
If someone already renamed the files before sharing,
just put the _fm_map.txt mapping file in the same folder and run option 3 to restore.
MIT