2.0.6pre2: smbclient/tar reports inconsistent file count

Giulio Orsero giulioo at tiscalinet.it
Mon Nov 1 10:52:05 GMT 1999

I have a win dir with 143 files and 3 dirs.

smbclient '\\server\dir' -Tc  file.tar
--> "tar: dumped 146 tar files"

smbclient '\\server\dir' -Tx  file.tar
--> "total of 143 tar files restored to share"

When tarring it reports files+dirs, when untarring it reports files
only; but the data is exactly the same: 143 files and 3 dirs, they are
all tarred and untarred succesfully.

Moreover, when tarring, the output shows every dir being restored on a
line by its own; when restoring, the dirs are only shown as part of the
path: if a dir is empty it's not shown even if it's restored.

giulioo at tiscalinet.it

More information about the samba mailing list