trash-cli

A command-line interface trashcan freedesktop.org specs compliant.
Download

trash-cli Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Francia Andrea
  • Publisher web site:
  • http://www.andreafrancia.it/trash/

trash-cli Tags


trash-cli Description

A command-line interface trashcan freedesktop.org specs compliant. trash-cli is a command-line interface trashcan freedesktop.org specs compliant. For each trashed file remember name, original path, date of deletion, and permissions. Interoperate with KDE Trash.UsageTo remove move foo in the trash can, use$ trash fooTo list all the contents of the trashcan$ list-trash2007-08-30 12:36:00 /home/andrea/foo2007-08-30 12:39:41 /home/andrea/bar2007-08-30 12:39:41 /home/andrea/bar22007-08-30 12:39:41 /home/andrea/fooSearch for a specific file in the trashcan$ list-trash | grep foo2007-08-30 12:36:00 /home/andrea/foo2007-08-30 12:39:41 /home/andrea/fooTo restore a trashed file$ restore-trash 0 2007-08-30 12:36:00 /home/andrea/foo 1 2007-08-30 12:39:41 /home/andrea/bar 2 2007-08-30 12:39:41 /home/andrea/bar2 3 2007-08-30 12:39:41 /home/andrea/foo2 4 2007-08-30 12:39:41 /home/andrea/fooWhat file to restore : 4$ ls foofooTo remove all trashed files$ empty-trashTo remove files that have been in the trash more than a given number of days$ empty-trash < days >For example$ dateTue Feb 19 20:26:52 CET 2008$ list-trash2008-02-19 20:11:34 /home/einar/today2008-02-18 20:11:34 /home/einar/yesterday2008-02-10 20:11:34 /home/einar/last_week$ empty-trash 7$ list-trash2008-02-19 20:11:34 /home/einar/today2008-02-18 20:11:34 /home/einar/yesterday$ empty-trash 1$ list-trash2008-02-19 20:11:34 /home/einar/today What's New in This Release: · Minor feature enhancements.


trash-cli Related Software