Get the Five Dollar Book! All commands in a 300 page PDF,

for convenient reading on your tablet, smartphone, or for self printing.

Includes a 60 page tutorial for the most important functions.



Windows

Linux

Mac OS X

SFK Icons and example code for linking can be found here.

Now follows the SFK for Windows syntax overview. (On Mac OS X and Linux, replace every ! character by :, and every $ by #. Type wildcards with a preceeding slash: \* and \?)

SFK - The Swiss File Knife Multi Function Tool. Release 1.9.7 Base/XD of May 23 2020. StahlWorks Technologies, http://stahlworks.com/ Distributed for free under the BSD License, without any warranty. type "sfk commandname" for help on any of the following. some commands require to add "-help" for the help text. file system sfk list - list directory tree contents. list latest, oldest or biggest files. list directory differences. list zip jar tar gz bz2 contents. sfk olist - list office files in a folder, like .docx .xlsx .ods .odt sfk filefind - find files by filename sfk treesize - show directory size statistics sfk copy - copy directory trees additively sfk sync - mirror tree content with deletion sfk rename - flexible multi file rename sfk partcopy - copy part from a file into another one sfk mkdir - create directory tree sfk delete - delete files and folders sfk deltree - delete whole directory tree sfk deblank - remove blanks in filenames sfk space [-h] - tell total and free size of volume sfk filetime - tell times of a file sfk touch - change times of a file sfk index - create index file(s) for fast lookup sfk name - lookup file names using index files sfk fixfile - change bad filenames and file times sfk setbytes - set bytes at offset within a file compression sfk zip - create zip file from folder sfk zipto - zip selected file list sfk unzip - list or extract zip file sfk checkzip - verify zip file content conversion sfk oload - load office file content as text sfk addcrlf - convert from LF to CRLF line endings sfk crlf-to-lf - convert from CRLF to LF line endings sfk detab - convert TAB characters to spaces sfk entab - convert groups of spaces to TAB chars sfk scantab - list files containing TAB characters sfk split - split large files into smaller ones sfk join - join small files into a large one sfk csvtotab - convert .csv data to tab separated sfk tabtocsv - convert tab separated to .csv format sfk encode - convert data to base64 or hex format sfk decode - decode base64, hex or url format sfk wtoa - convert wide chars to Ansi sfk wtou - convert wide chars to UTF-8 sfk utoa - convert UTF-8 text to Ansi sfk hexdump - create hexdump from a binary file sfk hextobin - convert hex data to binary sfk hex - convert decimal number(s) to hex sfk dec - convert hex number(s) to decimal sfk chars - print chars for a list of codes sfk bin-to-src - convert binary to source code

text processing

sfk filter

sfk ofilter

sfk replace

sfk xed

sfk xex

sfk xreplace

sfk run

sfk runloop

sfk printloop

sfk load

sfk perline

sfk head

sfk tail

sfk snapto

sfk addhead

sfk addtail

sfk joinlines

sfk strings

sfk sort

sfk count

sfk difflines

sfk linelen

search and compare

sfk xfind

sfk ofind

sfk xfindbin

sfk xhexfind

sfk extract

sfk find

sfk hexfind

sfk md5gento

sfk md5check

sfk md5

sfk pathfind

sfk reflist

sfk deplist

sfk dupfind

networking

sfk httpserv

sfk ftpserv

sfk ftp

sfk web

sfk wget

sfk tcpdump

sfk udpdump

sfk udpsend

sfk ip

sfk netlog

sfk fromnet -h

sfk ping

scripting

sfk help chain

sfk script

sfk label

sfk call

sfk echo

sfk color

sfk setvar

sfk storetext

sfk alias

sfk mkcd

sfk sleep

sfk pause

sfk stop

sfk tee

sfk tofile

sfk toterm

sfk for

sfk loop

sfk cd

sfk getcwd

sfk require

sfk time [-h]

development

sfk make-random-file

sfk fuzz

sfk sample

sfk patch

sfk inst

diverse

sfk view

sfk status

sfk calc

sfk random

sfk prompt

sfk number

sfk xmlform

sfk jsonform

sfk media

sfk toclip

sfk fromclip

sfk env

sfk version

sfk ascii

sfk ascii -dos

sfk spell

sfk cmd

sfk data

sfk ruler

sfk license

sfk update

help by subject

sfk help office

sfk help select

sfk help options

sfk help patterns

sfk help chain

sfk help var

sfk samp

sfk help shell

sfk help chars

sfk help nocase

sfk help unicode

sfk help colors

sfk help compile

sfk currently uses these environment variables:

head:4,examp:4,file:1,hit:4,rep:6

first time user?

"sfk basic"

<>|!&?*

to search ALL help text for a topic:

"sfk ask word1"

"sfk ask w1 w2"

"sfk dumphelp"

Consider these addons to boost your daily work:

SFK E-Book :

SFK P-Book :

DView :

SFK XE :

www.stahlworks.com