When extracting a tar archive, I need the files to be unique. If a file with the same name already exists in the destination, the new file should be renamed automatically.
For example:
• A file named test.txt already exists.
• The file being extracted is also named test.txt.
• The extracted file should instead be saved as test (1).txt.
Is there a way to achieve this with this library?