How to extract .depot file on HPUX?
Question
How can I extract extract a .depot file on HPUX?
The .depot
file is a tarred dir stucture, with some of the files gzipped under the same name as original.
Note that my environment is quite limited - I can't have root, I don't have swinstall
.
At best, the solution should work on Linux too.
I have tried to untar
and gunzip -f -r -d -v --suffix= .
But the problem is that the gzipped files have no suffix, so in the end, gzip deletes them.
Solution
It was relatively easy:
for f in `find -type f` ; do
mv $f $f.gz
gunzip $f.gz
done
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow