BubblesInTheTub / torrent7z

A fork of torrent7z, viz a derivative of 7zip that produces invariant .7z archives for torrenting
GNU General Public License v3.0
48 stars 5 forks source link

Windows - directory being added inside archive #12

Open ablakers opened 3 years ago

ablakers commented 3 years ago

Documentation says

t7z a <archive> <file/dir/mask/@listfile>,<file/dir/mask/@listfile>...
[...]
if <file> is actually a <directory>, adds all files/directories in it(but not the directory itself) to archive

but when I have run either t7z a <archive> <dir> or t7z a <dir> the 7z file has still had the directory inside it with the files inside that directory, rather than having the files at the root of the 7z file.

BubblesInTheTub commented 3 years ago

I can modify this behavior but in general, isn't it expected to pull in the directory itself rather than only the files inside when you execute?

'archive_tool a '

Could you let me know if it works as you expect when run this way?

**t7z a archive_name directory/***