how to convert a folder to .tar code example Example: tar to directory tar -xf file_name.tar -C /target/directory