Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Bin for Linux

NotificationsYou must be signed in to change notification settings

jaxke/rubbish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Reversibly remove files from a Linux filesystem

Features

  • Remove files and save them in a special directory
  • Restore files back to their original location
  • List files in the bin and show its size

Usage

$ ./rubbish put a b c  3 out of 3 files moved to bin.    $ ./rubbish list  Size: 4,0K  1: /home/user/scripts/rubbish/a (DELETED AT 2018-06-21 17:24:27)  2: /home/user/scripts/rubbish/b (DELETED AT 2018-06-21 17:24:27)  3: /home/user/scripts/rubbish/c (DELETED AT 2018-06-21 17:24:27)   $ ./rubbish restore 1 2 3  Restored 3 out of 3 files.# Or alternatively  $ ./rubbish restore /home/user/scripts/rubbish/a /home/user/scripts/rubbish/b  Restored 2 out of 2 files.

TODO

  • Configuration file and additional functionality like bin max size

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp