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
  Gimp opening files as indexed Nurufire 1 288 Aug 23, 2018 21:35
Last Post: paynekj
  gimp 2.8.6 very slow to open files millsware 14 3,908 Aug 8, 2018 05:46
Last Post: paynekj
  Sorting out old .xcf files Yumi 1 285 Feb 12, 2018 14:36
Last Post: paynekj
  Calling script from cmd under Linux outputs strange behaviour INV_SIG 7 878 Sep 19, 2014 22:29
Last Post: INV_SIG
  Help with calling gimp in linux INV_SIG 4 635 Sep 17, 2014 03:15
Last Post: INV_SIG

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS