RBIN is a simple and user-friendly package to act as a recycle-bin for Linux. rbin can be a safe alternative for a rm
command. Rbin moves the given files recycle bin and restores them to their original location. It has the flexibility of setup the auto cleanup feature for every 30days. Users can control over auto-clean setting to off or change the period of days to clean etc when required.
Features:
rbin---------------------------> main executable and deletes given files
rbin -d/--del-----------------> Deletes the files or Directories
rbin -r/--restore-------------> Restores the given files.
rbin -e/--emptybin----------> Will empty the recycle bin
rbin -s/--SetAutoclean-----> Options: on , off, Period_of_days to clean the bin
rbin -h/--help----------------> Prints the information about rbin.
rbin -f/--force----------------> Removes the given files permanently.
rbin -l/--list-------------------> Lists the files in recycle-bin along with remaining time to delete.
Directories:
/home/user/recyclebin---------------> Place to store the deleted files
/home/user/recyclebin/.cache------> Contains the information about deleted files
(date of deletion & original location)