Major Update.
Read the changelist for details.
Zip File Contents:
1. Binaries of Swiss File Knife Base, the multi function command line tool
for Windows (XP to 10), Intel Linux (current and old releases),
Apple Macintosh (i686 64 bits) and ARM systems like Raspberry Pi.
2. Sourcecode and build scripts of SFK Base,
allowing compilation under Windows and Linux.
3. Some documentation, example and test files.
If you are in a hurry and want only a single executable,
- download any of these files:
sfk.exe Swiss File Knife for Windows (32/64 bits).
sfk-x64.exe SFK x64 for 64 bit Windows only (OSE build).
sfk-winxp.exe SFK 32 bits for Windows XP systems.
sfk-linux-64.exe SFK for 64 bits Intel Linux, like Ubuntu 64.
sfk-mac-64.exe SFK for current Intel based Macs.
sfk-arm.exe SFK for ARM systems like Raspberry Pi.
sfktray-set-up.exe The SFKTray Status Display Tool for Windows,
Freeware edition, for use with sfk status.
you may use
1) automatic setup (Windows only):
- double click on the downloaded sfk.exe.
on Windows 10 you may have to confirm
a security dialogue to let it start.
setup does NOT require administrator rights.
- a command line window opens.
press 1, then enter to close.
- search the new "sfk shell" desktop icon.
double click to open a command line
which contains the sfk command.
or
2) manual setup:
- open a terminal or command line window (CMD.EXE).
- cd into your download folder.
- Windows: rename the .exe to sfk.exe,
copy it to an easy folder like C:\tools.
extend the command search path by:
SET PATH=%PATH%;C:\tools
now you can use the 'sfk' command.
- Linux/Mac: rename the .exe to just "sfk" like:
mv sfk-mac-64.exe sfk
then make it executable by:
chmod +x sfk
and finally type:
./sfk
if you have no unzip tool, or in a wrong version,
you may download unzip for the command line from
http://stahlworks.com/dev/index.php?tool=zipunzip
------------------------------------------------------------------
the released files are no longer replaced on updates,
and can be safely linked by package managers.
old folders from which no files are ever downloaded
may be cleaned up after a while.
------------------------------------------------------------------
- rel: 23.05.2020, Major Update
- sum: Improved file copy and backup, shown in a new script template.
SFK for Mac OS/X is now available as a 64-bit binary.
Improved FTP/SFT clients. Mobile friendly web server.
Improved batch support on linux. Many bug fixes and detail improvements.
- CHG: SFK for Windows: now uses the Visual Studio 2015 runtime
also for 32-bit binaries (it always used it for the
64 bit binaries). This may cause a one-time recopy of files
with sfk copy/sync and sft cput, as the new runtime
interprets file dates in daylight savings time different.
- CHG: SYNTAX CHANGE: sfk filter ++word1 ++word2 is deprecated.
Use instead sfk filter -and+word1 -and+word2,
or sfk filter "-+word1*word2" to search in given order.
The "++" will be used in a future version to control
command chaining data flow.
- CHG: SYNTAX CHANGE: script remarks starting like //text
without any whitespace are now deprecated.
sfk script, call, perline now require that "//"
remarks are followed by one space,
to avoid ambiquities with //pathname UNC paths.
- FIX: sfk sel mydir +del a.txt deleted mydir files.
now the parameter conflict produces an error.
- CHG: FTP/SFT CLIENT SYNTAX CHANGE: filenames containing
whitespace like 'the dir/the file.txt' can no longer
be typed as is, but must be surrounded by quotes "".
this is because ftp/sft now allows to add another
parameter, which is a different target filename.
- CHG: errors and warnings are now prefixed by the current
sfk command name, to find script errors easier.
- chg: sfk batch: new example scripts. default is a small script
with a simple file copy example. added option -full
to create a large backup example script with different
commands on the same file set.
- add: sfk ftp/sft put now supports a different remote file name.
- add: sfk ftp/sft get now supports a different local file name.
- add: sfk sft put: option -setexec to set executable flag
on files when sending to a linux server.
- add: sfk webserv: mobile friendly layout
- add: script: empty parameters "" are now accepted the same
way as option -noop (no operation), avoiding many
unexpected syntax errors on optional input parameters.
- opt: sfk big, sfk late: massive performance improvement
when listing many files.
- chg: unknown options now produce an immediate error with
most commands, instead of a delayed or no error.
- chg: command chain no longer stops at +view.
- add: script -anyparms, alias for script -literal.
- chg: sfk clipsrc now also expands % to %%.
- chg: sfk dir/stat mydir +view now shows stats in dview.
- add: sfk list -withhead now passes header infos
like 'listing n of n files' to command chain.
- add: sfk dir/big/late full colored +view support.
- add: sfk syncnames, heuristic file name change sync.
- add: sfk calc: experimental brackets support.
- add: sfk time: option -strfpat to use strftime format.
- add: sfk date: just show the current date.
- add: sfk batch on linux/mac: now does chmod +x on the
created batch.
- add: sfk alias, mkcd on linux: detailed help in case
of error how to use it.
- add: sfk alias, mkcd on linux: if done using sudo then
the batch file owner is now set to the normal user.
- add: sfk sft: ~ as alias for localhost
- fix: sfk ftp/sft missing error text with single file.
- fix: sfk ... +view color of warnings was unreadable yellow,
now it is magenta like the sfk white background scheme.
- fix: dir, snapto: wrong typed options caused to select
all files of current folder.
- fix: -fileset: memory leaks on multiple use
in subsequent commands.
- fix: sfk sel -fileset fname did not work.
- chg: warning "cannot read file stat" is now just "cannot read".
- doc: sft -showip