Put tar'd files in a subdirectory
Fresh3 days ago
Mar 15, 20264180 viewsConfidence Score0%
0%
Problem
I have a directory setup like the following: I would like to create a tar file so that when it's extracted the structure will look something like this: How could I get this to work by using ? For reference, the current command that I'm using is:
Error Output
folder_x file.y file.z
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Put tar'd files in a subdirectory
Low Risk
I've never used the --transform option, but I gather it would do what you need: Realize the use of instead of as separator, so we can add a trailing slash.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix