Command line stuff

Donn donn.ingle at gmail.com
Thu Jan 24 06:18:17 UTC 2008


> Honestly, Donn, this scenario is one of the few times I would get out a
> graphical file manager.  
Sure, that's really why I asked on the list - just in case I was missing some 
clever trick. The ones I've seen so far are as expected: using pipes and 
greps and whatnot. This is not bad, just a little fiddly.

I often find myself wishing I could do it the gui-way when I'm on the cli. Let 
me bounce my idea off ya:

The working name of the script is 'fui' for fake-ui.
1. fui --select *.jpg,a.pdf,wobble,bling,png --exclude stupid.jpg
That would select those files.
2. fui --select pic[123].png
That would glue some more onto the selection. Could be from another dir too.
3. cd /some/other/place or switch to another console/tab
4. fui --paste
Would copy those files here.
5. fui --paste --keep
Would copy them, but keep the selection, so you can do it again.
6. fui --cut [--keep]
Would move them here.
7. fui --list
Would show what you have selected.
8. fui --flush
Would clear the selection.

Seems quite handy, what do you think?

Ah, got a day on the building site now. Time to go!
\d

-- 
"You know, I've gone to a lot of psychics, and they've told me a lot of 
different things, but not one of them has ever told me 'You are an undercover 
policewoman here to arrest me.'"
-- New York City undercover policewoman

Fonty Python and other dev news at:
http://otherwiseingle.blogspot.com/




More information about the kubuntu-users mailing list