Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mothdotmonster/inventory
Move files like an old text adventure.
https://github.com/mothdotmonster/inventory
Last synced: about 2 months ago
JSON representation
Move files like an old text adventure.
- Host: GitHub
- URL: https://github.com/mothdotmonster/inventory
- Owner: mothdotmonster
- License: wtfpl
- Created: 2022-04-19T04:51:36.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-19T05:32:37.000Z (about 2 years ago)
- Last Synced: 2024-01-27T10:33:46.527Z (5 months ago)
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 24
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Lists
- cli-apps - inventory - Move files like an old text adventure. (<a name="file-dir-cleanup"></a>Clean up of files and directories)
- awesome-cli-apps - inventory - Move files like an old text adventure. (<a name="file-dir-cleanup"></a>Clean up of files and directories)
README
# inventory
[![asciicast](https://asciinema.org/a/wYW6IdGCYzl4O9Ybc9X7j1HXk.svg)](https://asciinema.org/a/wYW6IdGCYzl4O9Ybc9X7j1HXk)
Move files like an old text adventure.
To install, copy the scripts to a folder that's in your $PATH.
USAGE:
To list files in your inventory, use `inventory`.
To pick up a file, use `take (file)`.
To drop a file, use `drop (file)`.
By default, `inventory` uses `~/.inventory` to store files. To change this, set the `INVDIR` environment variable to the desired directory.
If you need to delete a file in your inventory, just drop it first, and then delete it with `rm`.
You can only pick up or drop one file at a time, as doing more would be too greedy.