The MASM Forum

Miscellaneous => The Orphanage => Topic started by: Magnum on June 11, 2014, 11:26:44 AM

Title: For Linux experts
Post by: Magnum on June 11, 2014, 11:26:44 AM

I have posted on 3 forums, but they are stumped.

I think Linux can do this, but maybe I am mistaken.

I don't think that it is rocket science.

I simply want to select a .html file and it's associated directory (with all it's files) and compress it.

I use Thunar File Manager.

Using Thunar under configure custom actions.

I tried these 2, but they do not work.

zip test.zip %N

zip test.zip %F %D







Title: Re: For Linux experts
Post by: Gunther on June 11, 2014, 07:25:08 PM
Andy,

why not forming a tar ball and using gzip?

Gunther
Title: Re: For Linux experts
Post by: Tedd on June 25, 2014, 01:37:17 AM
Thunar Archive Plugin
Title: Re: For Linux experts
Post by: Magnum on June 25, 2014, 09:13:51 AM
Thanks.

I found Packit that fits the bill.

Am now looking for a TSR substitute for Linux.

I would like any newly created zips to be copied to an external drive at the time they are created without my intervention.

Does not look like they have an equivalent.

:-(

Title: Re: For Linux experts
Post by: TouEnMasm on June 30, 2014, 12:17:37 AM

What is your Linux distribution ?
Ubuntu had p7zip who surely do that.
Title: Re: For Linux experts
Post by: Magnum on July 01, 2014, 02:04:55 AM
Puppy Slacko 5.6.0
Title: Re: For Linux experts
Post by: Vortex on July 01, 2014, 03:13:09 AM
Hi Magnum,

This should work on your system :

zip test.zip file.htm
zip test.zip -r foldername


The second line adds recursively the files in the folder.
Title: Re: For Linux experts
Post by: Magnum on July 01, 2014, 08:53:38 AM
Thanks Vortex.