When calling
bzip2 file.txt
I get this error message
bzip2: Input file file.txt has 1 other link
I'm using OSX, but I think this problem is not specific to OSX, so I'm asking here.
When calling
bzip2 file.txt
I get this error message
bzip2: Input file file.txt has 1 other link
I'm using OSX, but I think this problem is not specific to OSX, so I'm asking here.
I solved it using the force flag: -f
Don't know why.
-fk
to keep the old file as it was. –
Rupture My solution was to copy the file:
cp file.txt tmp
rm file.txt
mv tmp file.txt
bzip2 file.txt
But perhaps someone could explain it anyway?
-f
flag helps anyway there. –
Moen © 2022 - 2024 — McMap. All rights reserved.