Java-Application that anonymizes files by removing a regex-defined string from the filename, as well as redefining the lastModifiedDate.
- Java 1.8 or higher
- Make sure the .jar file is executable and a Java1.8-JRE is in your Environment/Path variable
This app will modify all selected files (no directories) inplace. This means, the files are not copied! Thus, make sure to make a data-backup before doing this.
-
Double click the .jar file, or...
-
...execute in your command line:
java -jar <path to the jar file>
- (Optional) Modify the REGEX to match the expression you want to delete from every file name (excluding filetype ending)
- (Optional) Pick a date as "last access date" (it will be 00:00 + UTC timeoffset on this date)
- Click "Choose files... and go!", select all files you want to anonymize.
- Q: What if modifying the file name results in multiple files with the same name?
A: To avoid duplicate files, the app automatically appends an index to the files, in order of processing. e.g.
myfile.csv
myfile__1.csv
myfile__2.csv
- Q: Who to contact if there are problems with executing?
A: First, check your java installation by executing
java -version
in the command line, this should say something including "Java 1.8" or a higher version (i.e. 10, 11 etc.). If not, try reinstalling Java / setting the Environment/Path variable.
- Q: Who is the contact if I still can't get it to run?
A: Make an issue on github!
- Q: I want feature xyz, do it now!
A: Pull requests are welcome!