tarman icon indicating copy to clipboard operation
tarman copied to clipboard

Option to extract files in a flat structure (don't create directories)

Open domenkozar opened this issue 11 years ago • 3 comments

domenkozar avatar May 20 '13 13:05 domenkozar

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?

matejc avatar Jun 04 '13 18:06 matejc

For now just forget about that edge case and leave a TODO comment

domenkozar avatar Jun 04 '13 18:06 domenkozar

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?

radiohacktive avatar Jan 06 '14 04:01 radiohacktive