I have many files like these
SomeDirectory/RandomName.spa
SomeDirectory/AnotherRandomName.spa
SomeDirectory/YetAnotherRandomName.spa
...
I want to unpack every .spa
file in SomeDirectory
to their each seperate folders, with the same name. I would use something like - tar -xvf
, but with what attributes?
Afterwards I want to pack every folder in SomeDirectory
again back to RandomName.spa
, (keeping the name of folder). The command would be tar -cvf
, but with what attributes?
tar
? If not, then I'd suggest doing so. In a Terminal typetar
and then control-click it selecting "Open man Page". Then if you're still confused, edit your question and try describing in better detail. – user3439894 Feb 11 '16 at 21:51*.spa
files are actually tar archives? What happens if you runtar -xvf RandomName.spa
? – nohillside♦ Feb 11 '16 at 22:11