Open parkerlreed opened 2 years ago
I would love this, too....
I can think of a few couple of things to do with a results file:
A helpful thing might be documentation (and not code for rdfind
to handle) to assist in parsing a multi-megabyte file using regular expressions or some other software. Using your case, instead of rdfind "reprocessing" a results.txt
file, run a few regex patterns or import it into spreadsheet software so the file can be turned into, say, a file list to be piped into rm
.
On the latter, if it can be guaranteed that results.txt
only uses certain characters as delimiters, then they could be used as delimiters to turn results.txt
into a character-separated file for import as a spreadsheet. People not proficient in regular expressions could use filters instead to hack and modify the file until they get the delete list they want (or, for example, change the ranking algorithm).
Obviously more hands on, but may be easier to implement and avoid bugs and feature creep.
I have a results.txt from a dry run. That was a day or two ago. Is it possible to reprocess just the txt file to see how much space would be freed if I wanted to remove the dups?