The Samba-Bugzilla – Bug 1328
Can't distinguish filenames with space at the end in dir listing.
Last modified: 2005-09-29 07:40:04 UTC
smbclient currently uses spaces in directory listing as separators for field
justification and so there's no way to distinguish "separator" spaces
and "filename" spaces. In the example below "Ainsi Soit Je " directory is
actually with one space at the end of dirname. It would be useful if field
separator character could be specified by some commandline option or just
replaced to tab.
$ smbclient //t/music -Uguest% -D "Mylene Farmer" -c ls
Domain=[DEBIAN_FANS] OS=[Unix] Server=[Samba 3.0.2a-Debian]
. D 0 Fri Jul 11 02:54:34 2003
.. D 0 Mon Mar 8 18:02:28 2004
Ainsi Soit Je D 0 Fri Jul 11 02:54:46 2003
61430 blocks of size 524288. 1927 blocks available
*** This bug has been marked as a duplicate of 2769 ***