New Taskfile entry to compress a directory using xz and delete it:
xd() {
(tar -cf - $1/ | xz -9e --threads=8 -c - > $1.tar.xz && trash $1) &
}
New Taskfile entry to compress a directory using xz and delete it:
xd() {
(tar -cf - $1/ | xz -9e --threads=8 -c - > $1.tar.xz && trash $1) &
}