Thanks to visit codestin.com
Credit goes to github.com

Skip to content

doc/docx的批量脱敏工具;A simple yet powerful tool designed to anonymize Microsoft Word documents in bulk. Perfect for anyone who needs to remove sensitive data before sharing or publishing.

Notifications You must be signed in to change notification settings

orxvan/doc_masking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

English | 中文

Document Desensitization Tool

Tool Description

This tool performs a simple desensitization function by replacing keyword occurrences in the filenames of .docx and .doc files within a specified folder_path.

Notice

  1. To process .doc files, the tool first converts them to the .docx format using LibreOffice. Therefore, LibreOffice must be installed on your local machine, and the soffice command must be executable from the command line.
  2. This tool will permanently delete the source files. It is crucial to back up your original files before use.

Usage

To use this tool, you need to modify the following variables in the script:

  • folder_path: Specify the source and destination folder for the files.
  • keywords_to_replace: Provide a list of sensitive words to be replaced.
  • replacement_text: Define the text that will replace the sensitive keywords.

About

doc/docx的批量脱敏工具;A simple yet powerful tool designed to anonymize Microsoft Word documents in bulk. Perfect for anyone who needs to remove sensitive data before sharing or publishing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages