Copy all files recursively:
xcv .
Cut all files recursively:
xcv -x .
List all files which will be pasted:
xcv -l
Paste all copied files elsewhere:
xcv -v /elsewhere
It's just that most people will want to do those things by default, and remembering "xcv c -R ." is a bit more mental effort than "xcv ." But maybe that's just a personal preference.
Thanks. You'll notice I listed some aliases: fsx, fsc, fsv, fsl. I'm not yet sure what most others will want, myself included, as defaults so I avoided baking in naive opinions. Fortunately aliases should allow us all to tweak accordingly. I appreciate the feedback and look forward to hearing from others.
Comments
Cool project!
What about a syntax like:
It's just that most people will want to do those things by default, and remembering "xcv c -R ." is a bit more mental effort than "xcv ." But maybe that's just a personal preference.Thanks. You'll notice I listed some aliases: fsx, fsc, fsv, fsl. I'm not yet sure what most others will want, myself included, as defaults so I avoided baking in naive opinions. Fortunately aliases should allow us all to tweak accordingly. I appreciate the feedback and look forward to hearing from others.
The requirement for adding -R might be useful. Consider the case of accidentally executing `xvc .` from within $HOME.
Of course, cp/mv already provide plenty of ways to obliterate your foot so...
First thing I thought too: the options should have a dash.
(yes cool project too)