tarman
tarman copied to clipboard
Option to extract files in a flat structure (don't create directories)
I am not sure about this one, what if there is file with the same name in i.e. root directory and in some sub-directory? File could be renamed from 'filename.ext' to 'filename (1).ext' but that is a dirty solution isn't it?
For now just forget about that edge case and leave a TODO comment
It's a dirty solution because it's a dirty problem; just as it is on the user to ensure data integrity outside of commands (no more "Recycle Bin" with rm
commands), it can be on the user to solve the problem beforehand. So to expand, perhaps this could be a small query of the mode of action when the problem arises, with a default (non-entry) option to begin enumerating name duplicates?