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: unc to dsl, user.tar.gz< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Mar. 11 2007,14:04 QUOTE

I tried Felson's suggested commands below to convert a couple of unc extensions to dsl (thanks again):

Code Sample
cd ~dsl/
mkdir tmp
cd tmp
cp -rp /opt/package/* .
du -a | awk '{print $2}' | sed "s/\.\///g" > package.lst
[edit package.lst and remove any directories that aren't empty]
tar -zcvf package.dsl -T package.lst
mv package.dsl ..
cd ..
rm -rf tmp

If I use this on the Skype unc extension to make a dsl extension, then the file user.tar.gz is placed in the root directory. I assume the purpose of this is to add an icon to launch Skype - how do you go about doing this in a dsl extension, or perhaps more generally, is there a consistant way to treat the contents of user.tar.gz in general when going from unc --> dsl?
Back to top
Profile PM 
Felson Offline





Group: Members
Posts: 54
Joined: Jan. 2007
Posted: Mar. 11 2007,16:20 QUOTE

He, I forgot about that.

Here is revised code

Code Sample

cd ~dsl/
mkdir tmp
cd tmp
cp -rp /opt/package/* .
tar -xzf user.tar.gz
rm user.tar.gz
du -a | awk '{print $2}' | sed "s/\.\///g" > package.lst
[edit package.lst and remove any directories that aren't empty]
tar -zcvf package.dsl -T package.lst
mv package.dsl ..
cd ..
rm -rf tmp
Back to top
Profile PM 
1 replies since Mar. 11 2007,14:04 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: unc to dsl

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