This bash script monitors specified directories for file creation events. Upon the detection of a new file, it performs several operations to enhance the privacy and uniformity of file data.
- Monitors specified directories for file creation events in real-time.
- Removes all metadata from the newly created file.
- Renames the original file with a new random filename of 12-20 characters.
- Prints the new metadata of the renamed file in the terminal for verification.
This script depends on inotifywait
for directory monitoring and exiftool
for metadata manipulation.
If you have any issues, suggestions, or questions about this script, please feel free to open an issue.
metaRemove is provided "as is" without any warranty of any kind, either expressed or implied. The author is not responsible for any damages or losses that may result from using this script.