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
 

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

reply to topic new topic new poll
Topic: Adding Emelfm Button For myDSL Editing< Next Oldest | Next Newest >
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: July 17 2004,15:14 QUOTE

I need a little help.

I am playing around with some myDSL packages and wanted to create buttons in Emelfm to keep from having to manually tar and untar the packages. I added a tar button with the command "tar -zxvf f%" with success. My question is how to add the "tar cvfz <package>.dsl *" command to a button since there is the "*" at the end of the command.

I hope this idea helps someone else who is playing as much as I am!

Chris
Back to top
Profile PM MSN YIM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: July 18 2004,02:49 QUOTE

clivesay,

I found that the following are the macro replacements that XX uses:

%f = The selected filename(s) in the active directory
%F = The full pathname(s) of files selected in inactive directory
%d = The active directory name
%D = The inactive directory name
%{Prompt message} = Prompt for input with the message "Prompt message"

I made a button with:

tar -czvf %{Filename for DSL (ie roo.dsl)} *

as the command and it looked like it worked OK when you click the button with the directory you want as the active one.

Your idea did help someone else who is playing as much as you are!
Back to top
Profile PM 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: July 18 2004,03:13 QUOTE

Thanks so much, clacker!
Back to top
Profile PM MSN YIM 
2 replies since July 17 2004,15:14 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Adding Emelfm Button For myDSL Editing

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