How to do things
AI Noob vs. Pro

List biggest files
List newest files
Show subdir sizes
Search in files
Replace word in files
List dir differences
Send files in LAN

Free Open Source:

Swiss File Knife

a command line
multi function tool.

remove tabs
list dir sizes
find text
filter lines
find in path
collect text
instant ftp or
http server
file transfer
send text
patch text
patch binary
run own cmd
convert crlf
dup file find
md5 lists
fromto clip
hexdump
split files
list latest
compare dirs
save typing
trace http
echo colors
head & tail
dep. listing
find classes
speed shell
zip search
zip dir list

Depeche View
Source Research
First Steps

windows GUI
automation

command line
file encryption

free external tools,
zero install effort,
usb stick compliant:

zip and unzip
diff and merge
reformat xml
reformat source

cpp sources

log tracing
mem tracing
hexdump
using printf

articles

embedded
stat. c array
stat. java array
var. c array
var. java array
view all text
as you type
surf over text
find by click
quick copy
multi view
find nearby
fullscreen
bookmarks
find by path
expressions
location jump
skip accents
clip match
filter lines
edit text
highlight
load filter
hotkey list
receive text
send in C++
send in Java
smooth scroll
touch scroll
fly wxWidgets
fly over Qt
search Java

create and verify md5 checksum lists from directory trees or single files, to verify downloads under Windows, Mac OS X, Linux and Raspberry Pi.
  • Download the free Swiss File Knife Base from Sourceforge.
  • Open the Windows CMD command line, Mac OS X Terminal or Linux shell.
  • OS X : type mv sfk-mac-64.exe sfk and chmod +x sfk then ./sfk
  • Linux: type mv sfk-linux-64.exe sfk and chmod +x sfk then ./sfk. OS X and Linux syntax may differ, check the help within the tool.
sfk md5gento=outfile dir [mask] [mask2] [!mask3] [...]
sfk md5gento=outfile -dir dir1 dir2 -file mask1 mask2 !mask3 [...]
 create list of md5 checksums over all files in a folder.
 by default, this also includes all subfolders (recursive tree walk).
 sfk md5gento=md5.dat thedir

sfk md5check=infile [-skip=n] [-skip n]
 verify list of md5 checksums. to speed up verifys by spot checking,
 specify -skip=n: after every checked file, n files will be skipped.
 sfk md5check=md5.dat

sfk md5 [-quiet] [-verify md5sum] file1 [file2 file3 ...]
calculate md5 hash of one or more files, and optionally compare results.
if md5 sums are compared, both a message is issued, and the shell rc
is set to 0 (all equal) or 1 (not equal).

sfk md5 test01.dat
tell md5 sum of test01.dat

sfk md5 test01.dat test02.dat
compare both files, if content is the same.

sfk md5 -quiet -verify 14da96b20e45fd84c46c5b7aef641cb3 test01.dat
check if test01.dat has an md5 matching the one specified.
issues no output, returns a shell return code > 0 on mismatch.

If you're storing backups on DVD or USB stick, you may turn them into
self-verifying archives by adding an md5 list, sfk.exe, and a short
batch file in it's root directory. For example, create a batch file
"90verify.bat" that contains two commands:

91tools\sfk md5check 91tools\md5sum.txt
pause

Then create a directory 91tools, copy sfk.exe into it, and run

sfk md5gento=91tools\md5sum.txt .

Test the whole stuff once before burning, by running 90verify.bat.
Then burn everything onto DVD. Insert the DVD into another PC, 
double-click on 90verify.bat. This way you verify that your DVD 
can be read also on another machine, which is an important test 
for your data's safety.

The md5 checksums for the current sfk distribution binaries are:
 
sfk156.zip               28b22751f0a2ad25e4122f1a6bdcd704
sfk156.exe               64a3599a1828abef3f16f3263f9a381a
sfk156-linux.exe         eb42ceb3d37a949cbf92720c1ad1f3bc
sfk156-linux-lib5.exe    89c014f6bd6c6b8f74256da22386e5bc
dview142.exe             b5d2cc0315c3cd1e22b096d4f952d6b0
sfk md5gento=outfile dir [mask] [mask2] 
   [!mask3] [...]
sfk md5gento=outfile -dir dir1 dir2 -file 
                       mask1 mask2 !mask3 [.
                       ..]
 create list of md5 checksums over all 
files in a folder. by default, this also
includes all subfolders (recursive tree
walk).
 sfk md5gento=md5.dat thedir

sfk md5check=infile [-skip=n] [-skip n]
 verify list of md5 checksums. to speed up 
verifys by spot checking, specify
-skip=n: after every checked file, n files
will be skipped.
 sfk md5check=md5.dat

sfk md5 [-quiet] [-verify md5sum] file1 
[file2 file3 ...]
calculate md5 hash of one or more files, 
and optionally compare results. if md5
sums are compared, both a message is issued,
and the shell rc is set to 0 (all equal)
or 1 (not equal).

sfk md5 test01.dat
tell md5 sum of test01.dat

sfk md5 test01.dat test02.dat
compare both files, if content is the same.

sfk md5 -quiet -verify 
14da96b20e45fd84c46c5b7aef641cb3 test01.
dat
check if test01.dat has an md5 matching the 
one specified. issues no output, returns a
shell return code > 0 on mismatch.

If you're storing backups on DVD or USB stick, you may turn them into self-verifying archives by adding an md5 list, sfk.exe, and a short batch file in it's root directory. For example, create a batch file "90verify.bat" that contains two commands: 91tools\sfk md5check 91tools\md5sum.txt pause Then create a directory 91tools, copy sfk.exe into it, and run sfk md5gento=91tools\md5sum.txt . Test the whole stuff once before burning, by running 90verify.bat. Then burn everything onto DVD. Insert the DVD into another PC, double-click on 90verify.bat. This way you verify that your DVD can be read also on another machine, which is an important test for your data's safety. The md5 checksums for the current sfk distribution binaries are: sfk156.zip 28b22751f0a2ad25e4122f1a6bdcd704 sfk156. exe 64a3 599a1828abef3f16f3263f9a381a sfk156-linux. exe eb42ceb3d3 7a949cbf92720c1ad1f3bc sfk156-linux-lib5. exe 89c014f6bd6c6b8f74256da22386e5bc dview142.exe b5d2cc0315c3cd1e22b096 d4f952d6b0

you are viewing this page in mobile portrait mode with a limited layout. turn your device right, use a desktop browser or buy the sfk e-book for improved reading.

 
sfk is a free open-source tool, running instantly without installation efforts. no DLL's, no registry changes - just get sfk.exe from the zip package and use it (binaries for windows, linux and mac are included).

 

the Daily Landscape image
the Daily Mobile Background