repository overview

about

information about this package can be found in the README. here is a html-version of the README:

status

this software was written a long time ago and may not compile
immediately.  contact me if you need help.  it can be made to run
on at least openbsd & linux.

about

samblah is a command-line smb/cifs file transfer client, its
functionality resembles that of smbclient(1) which is part of the
samba project.  samblah provides certain features that smbclient(1)
lacks, such as command-line completion, convenient globbing and
resuming of transfers.

features

screenshots

progressbar
while transferring, the progress bar, current size and
estimated time of arrival are updated once every second.
http://www.xs4all.nl/~mechiel/projects/samblah/screenshots/progressbar.png
recursive `get'
samblah can retrieve directories recursively.
http://www.xs4all.nl/~mechiel/projects/samblah/screenshots/recursive.png
resuming a transfer
when a the destination file of a transfer already exists,
the user is asked whether to overwrite, resume, or skip the
transfer.
http://www.xs4all.nl/~mechiel/projects/samblah/screenshots/resume.png
completion
as can be seen in the screenshot, completion is quite useful
when navigating.
http://www.xs4all.nl/~mechiel/projects/samblah/screenshots/completion.png
globbing
you can use the wildcards `*', `?' and `[characters]' to
match file names.
http://www.xs4all.nl/~mechiel/projects/samblah/screenshots/globbing.png

installing

samblah needs libreadline and libsmbclient.  chances are that
libreadline is already installed on your system, if not, you can
find it at <http://cnswww.cns.cwru.edu/~chet/readline/rltop.html>.
as libreadline is pretty mainstream, installing it should not cause
much trouble.
libsmbclient is a bit harder.  It comes as part of samba,
<http://www.samba.org/>.  at the moment of writing, samba-2.2.8 is
the latest release.  the problem is that the Makefile does not build
and install libsmbclient correctly.  see if your operating
system/distribution has a libsmbclient package, that will be the
easiest.  otherwise, try modifying the Makefile of samba to suit
your needs.
when you have libreadline and libsmbclient, it is time to compile
samblah.  edit the Makefile and add the location of the libreadline
and libsmbclient header files to the include path.  then execute
`make'.  If this succeeds, there will be a binary `samblah' and a
formatted manual page `samblah.0'.  to install samblah, copy the
binary to somewhere in your path (you might want to strip(1) it
first) and copy the manual page (either samblah.1, the raw manual
page, or samblah.0, the formatted manual page, possibly compressed)
to where your systems keeps manual pages.  note that there is no
`install' target since there is no way of determining where to
install the files.

download

note that this software is unmaintained, so don't expect many
updates.  still, changes can be found here:
http://www.ueber.net/code/r/samblah

author & licence

this code was written by Mechiel Lukkien <mechiel@xs4all.nl> or
<mechiel@ueber.net>.
all files in samblah distributions are in the public domain.  this
means you can do anything with it you want.

thanks

helpful people who have provided feedback/bug reports/bug fixes and
suggestions for improvements:  Ferdi Meijerink, Berteun Damman.

clone

to clone & pull:

hg clone http://www.ueber.net/hgsrv/samblah/
or
hg clone static-http://www.ueber.net/who/mjl/hg/samblah/

tgz

download a snapshot of the latest version: samblah-15.tgz.

contents

the files in the latest revision can be found at /hg/samblah/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:

c header files:

c source files:

changes

rev nodeid when diff why
15 b0485e0cbed3 18 months diff update README with info from website (which will be removed soon).
14 c56fde807aa9 18 months diff update tags
13 a83486a8fa2b 2 years diff set correct version number. ...
12 aaefb4c123c5 2 years diff - fix memory free bug which exhibited itself on linux. ...
11 bcff4d756fd2 2 years diff do not segfault when open is called without params. ...
10 d6b7853d6448 6 years diff remove alias stuff, unused ...
9 97920a2ed96e 6 years diff replace $? by $<, which is used more often, from berteun ...
8 b5c59779736f 6 years diff has some notes about the code. this used to be in README but it ...
7 785f2e631826 6 years diff I found a bug I wanted to fix. Then my code looked ugly and I ...
6 0e7bd2927f06 6 years diff - samblah.sourceforge.net -> www.xs4all.nl/~mechiel/projects/samblah/ ...
5 4a2bce8e30c9 6 years diff shut compiler warning by casting a mode_t to int when used in printf. ...
4 0915f857f9d1 6 years diff whitespace is something on solaris it seems, thus s/whitespace/space/ ...
3 f02ce7018f18 6 years diff fix types for smb_read and smb_write. ...
2 efab088a7039 6 years diff better error message when $HOME/.smb/smb.conf doesn't exist. ...
1 a5f98c8d28d3 6 years diff initial import, this comes from my private CVS repository. ...
0 e17a0d20033a 6 years - Initial revision ...