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
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 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 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.
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
  Calling script from cmd under Linux outputs strange behaviour INV_SIG 7 366 Sep 19, 2014 22:29
Last Post: INV_SIG
  Help with calling gimp in linux INV_SIG 4 212 Sep 17, 2014 03:15
Last Post: INV_SIG
  Local help files 2.8.14 caz 5 312 Aug 30, 2014 16:59
Last Post: caz
  Excessive compression in exported files? LiamRowan 5 298 Aug 13, 2014 21:23
Last Post: LiamRowan
  Gimp doesn't read back own files 1 325 Jul 13, 2014 16:55
Last Post: rich2005

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS