/rename2

A tool to rename image files and update markdown file

Primary LanguageGo

rename2

rename2: This tool is written specifically for markdown files. When exporting markdown in cloud documents, the exported image names are strange codes or file names containing sensitive information, you can use this tool to batch change the image file names and change the corresponding image references in the markdown file.

Of course, this is a preliminary tool, and the code can be added or changed according to specific needs.

A tool to rename image files and update markdown file

Usage:
  rename2 [flags]

Flags:
  -h, --help               help for rename2
  -d, --imgFolder string   Path to the image folder
  -f, --mdfile string      Path to the markdown file