[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: permissions zipping



David Talkington wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kalin Mintchev wrote:
>
> >in the zip man page there is nothing that explains how to zip files
> >keeping the original file permissions. can somebody please let me know
> >how can i do that - zipping up and keeping the original permissions so
> >after unzipping them they have the same ones as before zipping them...
>
> Personally, I use tar.  Invoking it with options zcfp will create a
> compressed archive and preserve file permissions.
>
> Hope this helps ... -d
>
> - --
> David Talkington
>
> PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.8
> Comment: Made with pgp4pine 1.75-6
>
> iQA/AwUBPRFpgb9BpdPKTBGtEQIxJACdFlCSKZSk81CgaRoGkhSo9ffDh8wAoOB9
> O8AZrfZ+SADqSHm+pwUjFRhm
> =Cj/h
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Redhat-list mailing list
> Redhat-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-list

tar zxvf
z: filter the archive through gzip
x: extract
v: verbose mode
f: use the following file

Good luck

begin:vcard 
n:Chan;Arthur
tel;work:1.718.633.5892
x-mozilla-html:TRUE
url:www.saysit.com
org:SAYS I.T.
adr:;;234 E 2nd Street;Brooklyn;New York;11218-2314;USA
version:2.1
email;internet:achana saysit com
title:Senior Partner
note;quoted-printable:This message and all attachments are confidential.=0D=0AThey are meant solely for the addressee.=0D=0AAny authorised use or dessemination is prohibited.=0D=0AEmails are liable to unauthorised alterations.=0D=0ANeither SAYS I.T. nor any of its partners or subsidiaries or affiliates=0D=0Ashall be responsible for the message if altered, changed or falsified.
x-mozilla-cpt:;25408
fn:Arthur Chan
end:vcard

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]