Post Reply 

7zip Files in Linux

Apr 29, 2012, 06:10 (This post was last modified: Apr 29, 2012 06:11 by Tununias.)
Post: #1
7zip Files in Linux
Hello.
This is a simple bash script I wrote to let you use xcf files compressed in 7z instead of just gz or bz2.
It basically extracts an xcf compressed in 7z, moves it to /tmp, opens it in gimp, and then(after gimp closes) moves the xcf back into the original folder and compresses it back into 7z.
It requires p7zip(sudo apt-get install p7zip) and gimp.

How to use in Ubuntu:
Extract the two scripts into the same folder as the xcf.
Compress the xcf in 7z.

Right click the compressed xcf file and select rename and copy the filename before the .xcf.7z extensions.

Double click the setup_openfile.sh script and select "Run in terminal".

Paste the copied filename into the terminal.(I don't think you can use spaces in the filename)

Then use the openfile.sh script by double clicking it and selecting "Run in terminal"
The script will do the rest.
I don't think this will work with multiple files open in gimp at once.
http://www.mediafire.com/download.php?o593botdbxdtig2
I use this script all the time and it works well for me.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  \Data\.gimp\backups\.goutputstream-XXXXXX Files DoughyInTheMiddle 1 449 Nov 10, 2018 10:01
Last Post: paynekj
  Increasing Color Bit Depth on Legacy files -- Does it have any immediate effect? EndWggn 2 205 Oct 29, 2018 17:41
Last Post: EndWggn
  Gimp opening files as indexed Nurufire 1 390 Aug 23, 2018 21:35
Last Post: paynekj
  gimp 2.8.6 very slow to open files millsware 14 4,264 Aug 8, 2018 05:46
Last Post: paynekj
  Sorting out old .xcf files Yumi 1 342 Feb 12, 2018 14:36
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS