The following command
Does not directly work on FreeBSD to compress a folder unless one is using a bash shell. Is there an equivalent way to compress a folder of files while also being able to set the compression level without piping output between programs? Parallel compression seems to be tricky to get going as well.
XZ_OPT=-9 tar -cvJf folder.tar.xz folderDoes not directly work on FreeBSD to compress a folder unless one is using a bash shell. Is there an equivalent way to compress a folder of files while also being able to set the compression level without piping output between programs? Parallel compression seems to be tricky to get going as well.