[erlang-questions] Tar Without Paths?
Mon Nov 20 18:58:44 CET 2017
Are the filenames in the FileList that you supply to create/2 (or /3) in absolute or relative form?
I believe erl_tar will use whatever filenames you give it.
On 20/11/17 17:03, code wiget wrote:
> Is it possible to use erl_tar open or create without including the full path to the files? Right now, every add or create adds files with their full path, so when they are extracted, they come in the form of “/home/wiget/server/files_to_tar/file1.txt instead of files_to_tar/file.txt. The only options in the man pages are irrelevant to my issue, so I assume there is some way around this. If anyone has found a way, I would greatly appreciate your insight!
> erlang-questions mailing list
More information about the erlang-questions