Hi all,
using Centos 7,
having some issues with tar command.
when i run this command
sudo tar -cvf /home/avihai/backup/backup-$(date +"%d-%m-%y_%H:%M").tar /home/avihai/downloads/test/
it works fine !
but when i try to bzip it, it goes nuts
[avihai@Centos-Avihai backup]$ sudo tar -cvjf /home/avihai/backup/backup-$(date +"%d-%m-%y_%H:%M").tar /home/avihai/downloads/test/
tar: Removing leading `/' from member names
/home/avihai/downloads/test/
/home/avihai/downloads/test/IMG_0463.jpg
tar (child): bzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
[avihai@Centos-Avihai backup]$
tar acting out
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
tar acting out
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: tar acting out
bzip2: Cannot exec: No such file or directory <--- HINT HINT Try which bzip2 maybe...
mute@kermes ~ $ which bzip2
/bin/bzip2
mute@kermes ~ $ which bzip2
/bin/bzip2