2 stable releases
1.1.0 | Nov 28, 2024 |
---|---|
1.0.0 | Nov 17, 2024 |
#511 in Filesystem
281 downloads per month
19KB
176 lines
toss
throw and catch style moving and copying program
Why?
I love using the terminal and I normally use cp
and mv
to copy and move files between folders but when refactoring/cleaning the directories I want to organize files to respective folders in different places. Normally the Downloads folder. While doing that I don't want to type the path multiple times just to move files to a particular location from different places.
What I thought is.. why not just run a catcher in a destination path, and throw files from anywhere in the system. And when throwing the files, why not make it able to move some files and copy other files. This program does exactly that.
Usage
First run catch
in the destination directory, then run throw <path>
Run
--help
for both programs for arguments and options.
# catch:
catch
# throw
throw <path>
Dependencies
~1.1–1.7MB
~32K SLoC