tar

Michael bmike1 at gmail.com
Thu Sep 24 12:53:30 MST 2020


thank you so much for the help

On Thu, Sep 24, 2020 at 3:05 PM Michael Butash via PLUG-discuss
<plug-discuss at lists.phxlinux.org> wrote:
>
> You're doing it a bit backward, name the file to be created, then the files to be added to archive.
>
> [user at home]$ tar -czfv file.tar.gz PIC03442.ARW
> [user at home]$ file file.tar.gz
> file.tar.gz: gzip compressed data, from Unix, original size modulo 2^32 1464320
> [user at home]$ 7z l file.tar.gz
>
> 7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
> p7zip Version 16.02 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (906E9),ASM,AES-NI)
>
> Scanning the drive for archives:
> 1 file, 1358768 bytes (1327 KiB)
>
> Listing archive: file.tar.gz
> --
> Path = file.tar.gz
> Type = gzip
> Headers Size = 10
>
>    Date      Time    Attr         Size   Compressed  Name
> ------------------- ----- ------------ ------------  ------------------------
>                     .....      1464320      1358768  file.tar
> ------------------- ----- ------------ ------------  ------------------------
>                                1464320      1358768  1 files
>
> -mb
>
> On Thu, Sep 24, 2020 at 10:09 AM Michael via PLUG-discuss <plug-discuss at lists.phxlinux.org> wrote:
>>
>> I need to create a gzip file.
>> This is what I've done:
>>
>>
>> --
>> :-)~MIKE~(-:
>>
>> michael at MyNUC:~/Pictures/calibration images$ tar -czf PIC03442.ARW
>> tar: Cowardly refusing to create an empty archive
>> Try 'tar --help' or 'tar --usage' for more information.
>> michael at MyNUC:~/Pictures/calibration images$ tar --usage
>> michael at MyNUC:~/Pictures/calibration images$ tar -cf PIC03442.ARW -z
>> tar: Cowardly refusing to create an empty archive
>> Try 'tar --help' or 'tar --usage' for more information.
>> michael at MyNUC:~/Pictures/calibration images$ man tar
>> michael at MyNUC:~/Pictures/calibration images$ tar -c -fz PIC03442.ARW
>> michael at MyNUC:~/Pictures/calibration images$ ls
>> PIC03441.ARW  PIC03441.JPG  PIC03442.ARW  PIC03442.JPG  z
>> michael at MyNUC:~/Pictures/calibration images$ rm z
>> michael at MyNUC:~/Pictures/calibration images$ tar -c -zf PIC03442.ARW
>> tar: Cowardly refusing to create an empty archive
>> Try 'tar --help' or 'tar --usage' for more information.
>> michael at MyNUC:~/Pictures/calibration images$
>>
>> it is tar <create>.... what!
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>> To subscribe, unsubscribe, or to change your mail settings:
>> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss



-- 
:-)~MIKE~(-:


More information about the PLUG-discuss mailing list