FilePath package:tar-conduit

File path.
Turn a stream of file paths into a stream of FileInfo and file content. All paths will be decended into recursively.
Recursively tar all of the files and directories. There will be no conversion between relative and absolute paths, so just like with GNU tar cli tool, it may be necessary to setCurrentDirectory in order to get the paths relative. Using filePathConduit directly, while modifying the filePath, would be another approach to handling the file paths.
Convert UTF-8 encoded ByteString back into the FilePath.
Convert FilePath into a UTF-8 encoded ByteString