#copy #move #style #moving #directory #place #throw-catch

app toss

A throw-catch style move and copy program

1 stable release

new 1.0.0 Nov 17, 2024

#4 in #move

GPL-3.0 license

19KB
165 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