On Fri, Jan 8, 2021, at 15:47, Joseph Martinot-Lagarde wrote:
One remark about this : .tar.gz files are the exception rather than the rule, and AFAIK maybe the only one ? It's pretty common to have dots in filenames instead of blanks for example, and stem does the right thing here : '/data/my.little.file.txt'. There is also the case of hidden files on Linux, what do you expect for /home/toto/.program.cfg ?
Hidden files are already treated specially - a file called simply ".whatever" is considered to be the stem, not the suffix.