You are not logged in.
Whats the easiest way to untar a file to a new directory. For example a tar file a in directory 'dir' has files b and c. When I extract a, I want b and c to be in a new folder called 'dir/a/' instead of just 'dir/'.
Offline
You can either use the thunar-archive-plugin or create a Thunar Custom Action like:
Name: Auto-extract to folder
Command:
for file in %F; do dir=`echo "$file"|sed 's/\.\+\(tar\|tgz\|tbz2\|txz\).*$//g'`;mkdir "$dir";cd "$dir";tar xf "$file";cd -;doneAppearance Conditions: Other files
Source
Offline
thunar-archive-plugin and file-roller get the job done easily
"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace
Offline