Quote (clacker @ Feb. 11 2005,17:41) |
Echoing what SaidinUnleased said, I wish there was a neat flua program that could unpack, look for duplicates, make menu items, make .xtdesktop entries (starting xpaint with a icon template), and repackage dsl files. Can we take your emelfm ideas and transfer them? |
Quote (clivesay @ Oct. 03 2004,20:17) |
I like to spend my time finding ways to automate redundant tasks. ![]() If you like to edit and repackage .dsl/.tar.gz files like I do, you probably have Ke4nt's howto doc printed out and laying in a high visibility area of your desk. |
Quote |
Create a work directory such as /home/knoppix/WORK/ Untar the file: tar –zxvf <filename>.tar.gz ********************************************* Make your changes and tar the file: tar cvfz <filename>.tar.gz * ********************************************* Eliminate unnecessary directories from the tar.gz Output tar.gz contents: tar –ztf <filename>.tar.gz > <output filename>.txt Edit the text file by removing directories that already exist in the filesystem such as /usr/bin ********************************************* Repackage tar.gz file: tar –T <output filename>.txt –no-recursion –numeric-owner –cvf- | gzip > <filename>.tar.gz ******************************************** Identifying changes in the file structure Before changing the filesystem find / -print > b4.txt After the change find / -print > aft.txt To view the changes diff b4.txt aft.txt > change.txt |