On 1/30/2025 11:29:01, olikser49--- via Help requests for GNU Tar wrote:
--
Error while running command from old guide with current tar.

user@debian:~# tar -C /boot --acls --xattrs -xf /tmp/boot.tar

I changed tar -C to tar -c and error is

Please note that -C (Change directory) and -c (create archive) are two very
different options and changing one to the other is going to do the wrong thing.

In fact specifying both -c (create) and -x (extract) together is a contradiction which is why you get the error that only one of -A -c -d -t -r -u and -x can be
used together .

tar: You cannot more then one parrameter from the '-Acdtrux', '--delete' and '--test-label' ......

Guide about encrypting boot partition with luks. And author uses debian 8.
I created backup at /tmp called boot.tar from /dev/sdb1
now I need to place tarball back to new encrypted boot.
Command in guide at line 4

Thanks.

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded


  • Old tar version fix olikser49--- via Help requests for GNU Tar
    • Re: Old tar version fix Jakob Bohm via Help requests for GNU Tar

Reply via email to