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 and PPC) 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).
sfkx64.exe SFK x64 for 64 bit Windows only (OSE build).
sfk-linux.exe SFK for 32 bits Intel Linux, like Ubuntu.
sfk-linux-64.exe SFK for 64 bits Intel Linux, like Ubuntu 64.
sfk-linux-lib5.exe SFK for older Intel Linux, like DSL.
sfk-mac-i686.exe SFK for current Intel based Macs.
sfk-mac-ppc.exe SFK for older PowerPC 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.
- 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-i686.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 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.
------------------------------------------------------------------
Initial Release:
- rel: 10.02.2019, Major Update
- sum: SFK can now search and load office
file text contents, in Open Office
format files like .docx .xlsx .ods .odt.
Search functions now search only in
text files by default.
- CHG: Syntax Change: xfind now only searches
in plain text files, but not in binaries.
use xfindbin to search also binary files.
- CHG: Syntax Change: find now only searches
in plain text files, but not in binaries.
use findbin to search also binary files.
- add: ofind, search text in office files like
.docx .xlsx .ods .odt and plain text files.
- add: ofilter, filter text of an office file.
- add: oload, load text of an office file
for display or further processing.
- add: sfk help office, for details about
supported office file extensions.
- add: sfk alias, mkcd: support for SFK_PATH
environment variable, to write batch files
only into this folder.
- chg: sfk getdv: now also suggests to save
to SFK_PATH if given.
- add: echo: option -stream for best output
transfer to setvar or xed.
- dep: xtext is deprecated (redundant to xfind)
- dep: ftext is deprecated (redundant to find)
- fix: zipto: crash on sub folder names
containing accent characters,
especially on select ... +zipto.
- chg: sfk data: max content per symbol
is now 8 kbytes instead of 1.
- fix: xed: sfk ... +xed without any patterns
created unwanted color output.