File Cleaner

File Cleaner automatically remove files matching criteria. The criteria are :

- age = time since last modification. Files older than the limit are removed

- size = Files above the size are removed

- file extension = Files with the file extension are removed

- file name or string in file name or regexp = Files containing the string in their file name are removed

If one of these criteria is matched, the file will be deleted.

Disclaimer : files removed by file cleaner can not be recovered (there is no trash). It is recommended to test the software on a test folder and to review the file list to be erased before starting the file removal.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

Manual

File Clean is written in Go and compiled for Linux and windows 64 bits.

1- Edit the directory.tsv file in the table directory. This file can contain an unlimited number of directories with their own removal rules. Avoid spaces and special characters in directory names.

2- To start the software, execute the Linux (.bin) or .exe file (windows)

3- Review the list of files to delete in the result directory. Very important : removing a file in the result list has no effect, this table is not used by the software to remove the files for technical reasons (depending on the software used to open this table some unwanted characters can be introduced). If you want to keep a file displayed in the result file, you have to move it in another folder.

4- answer <y> to start file removal. Please note that files can't be restored after removal.