💻 Software
unpack 'tar' but change directory name to extract to
Fresh7 days ago
Mar 15, 202644846 viewsConfidence Score0%
0%
Problem
I'd like to extract file and name to, folder2. Can this be done as a one-liner?
Error Output
tar -tf filename.tar folder1/file folder1/name [...]
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: unpack 'tar' but change directory name to extract to
Low Risk
Use and (See ). Example: Explanation: The flag assumes a directory is already in place so the contents of the tar file can be expanded into it. hence the . The flag is used when a tar file would naturally expand itself into a folder, let say, like g…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix