Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ [1] 2 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: "Add to filetool.lst" button, In emelfm?< Next Oldest | Next Newest >
RoGuE_StreaK Offline





Group: Members
Posts: 418
Joined: Jan. 2004
Posted: Mar. 27 2005,02:19 QUOTE

Another half-baked idea, is it possible to create a script, to attach to a button in emelfm, that would add the selected file to the filetool.lst?
ie., you're browsing through the files, you find something of interest, select it, hit the button, and the script appends the full file location to the backup list - simplifying (well, in some cases) the process of adding files to the list?

No idea of the logistics of this.  Something along the lines of get full file location and append this to the text file, starting a new line on the append?


--------------
"I find your lack of penguin disturbing"
                                      - Darth Tux
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Mar. 27 2005,04:39 QUOTE

This sounds like a cool idea.

The script would need to "grep" the existing filetool.lst to prevent duplicates, but otherwise I like the concept.
Back to top
Profile PM 
RoGuE_StreaK Offline





Group: Members
Posts: 418
Joined: Jan. 2004
Posted: Mar. 27 2005,05:45 QUOTE

RE: duplicates in the list, wouldn't duplicate files just overwrite themselves in the backup, rather than double-up?  If they did, you wouldn't need to worry about the grep complications?

I'm not sure how tarring works, if you try to add a file to a tar when that particular file already exists, does it ignore it, overwrite it, duplicate it, or come to a screaming halt?


--------------
"I find your lack of penguin disturbing"
                                      - Darth Tux
Back to top
Profile PM WEB 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Mar. 27 2005,06:16 QUOTE

It duplicates inside the tar file, but apparently overwrites on extraction

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
RoGuE_StreaK Offline





Group: Members
Posts: 418
Joined: Jan. 2004
Posted: Mar. 27 2005,06:46 QUOTE

OK, so will need to grep.
Um, what's a grep?  :D   (kidding, know what it is, just not how to utilise it properly.  I guess if I sat down and actually learned how to write scripts properly, I wouldn't need to keep making these vague suggestions for other people to implement!)


--------------
"I find your lack of penguin disturbing"
                                      - Darth Tux
Back to top
Profile PM WEB 
22 replies since Mar. 27 2005,02:19 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ [1] 2 3 4 5 >/
reply to topic new topic new poll
Quick Reply: "Add to filetool.lst" button

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code