Skip to content

NandaNg314/filemasker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FileMasker

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.


Android

macOS / Linux should also work but not tested.

Requirements: MT Manager with shell extension pack, or Termux

  1. Copy filemasker.sh into the target folder
  2. Open with MT Manager shell / Termux and run:
chmod +x filemasker.sh
./filemasker.sh

Windows

Requirements: Windows 7 or above (PowerShell built-in)

  1. Copy filemasker.ps1 into the target folder
  2. Right-click filemasker.ps1Properties → check Unblock at the bottom → click OK
  3. Right-click filemasker.ps1Run with PowerShell

Menu Options

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.


Tip

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.


License

MIT

About

Batch rename files to numbers for cloud drive, then restore. Windows & Android.(通过识别md5,实现一键修改文件名规避审核,并且能一键改回原名称)

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors