A bash script that removes files in a safe manner as they are compressed and hid.

Here is the link to the source code on github.
Short Description
At the beginning the entire script is passed to daemon to be run periodically.
This bash script consists of seven main functions.
Trash_check:
This is the main function checks for the existence of “Trash” folder, if it dose not exist then it is created.
Trash_clean:
This function checks the dates of the files in the trash folder if it has passed a certain time “two days” then it is removed automatically.
Input_check:
This function checks if there is any user input passed to the script.
Files_check:
This function checks if the passed files really exist or not.
Files_type:
This function checks the type of the files, if they are some kind of a compressed file then they are passed to move_to_trash, if not they are passed to file_compress.
File_compress:
This function compresses the file given.
Move_to_trash:
This function moves a file to the trash.
Note: You can pas one file or multiple files to this script.