I program quite a bit in other languages, but am somewhat new to bash,
so this may not be the most elegant program, but i'm having fun learning
it!
Anyway, i put this in ~/Choices/SendTo as tar_rox
In rox-filer, if you select several files or dirs and Send To tar_rox,
it'll tar them up in the
On Sun, 20 Jul 2003 11:59:19 -0700
Eric Huff [EMAIL PROTECTED] uttered:
In rox-filer, if you select several files or dirs and Send To
tar_rox, it'll tar them up in the same directory w/o the entire path
to the files/dirs. (any structure w/i the dir will be preserved).
Ok. I am more than new
In rox-filer, if you select several files or dirs and Send To
tar_rox, it'll tar them up in the same directory w/o the entire path
to the files/dirs. (any structure w/i the dir will be preserved).
Ok. I am more than new to bash scritpting, but won't ROX archive do
this?
Probably. I
On Sun, 20 Jul 2003 11:59:19 -0700
Eric Huff [EMAIL PROTECTED] wrote:
The if chunk's purpose is to strip the filenames off the arguments,
since they come in with full paths, and to
find the path of the files (since pwd is ~/).
I don't know if `basename` will help you with that or not.
Todd
I don't know if `basename` will help you with that or not.
Yes!
That's way better. That's the area where i will have to learn the most:
what functions are out there. It's fun to learn the hard way, too,
though...
Thanks for the command,
eric
Here's the basename version: