Swiss File Knife is a supercharged command line tool which crams around 100 functions into a single executable.
The program can search for files by content, or name. It's able to list the contents of directories, create or delete directory trees. And you get a lengthy list of text and file processing options: LF <> CRLF, tab <> space, hex <> binary, hex <> dec, insert string, replace string, sort string, split file, join file, more.
This would be useful in itself, but Swiss File Knife does a whole lot more. The program also includes commands to synchronise a folder tree, find duplicate files, cut video and binary files, create MD5 hashes, send UDP or HTTP requests, download HTTP files, even run instant FTP and HTTP servers.
Most of these commands deliver far more than you'd expect. The List command doesn't just list files in a directory tree, for example: it also supports a host of archive formats. And it's enormously flexible, with more than 35 switches, which can themselves be combined in many different ways, and have their output passed on to other Swiss File Knife commands.
There's also plenty of scripting support, with tools to get user input, run sequences of Swiss File Knife commands, run commands on every file in a folder, run commands in a loop, and more.
Perhaps most surprising of all, though, Swiss File Knife isn't too difficult to learn. There's a lot to explore, but the syntax of each command is relatively straightforward. When listing files, for example, there's no "-n -l -p" garbage: instead you'll use switches like -time, -hidden, -sort, -minsize, -maxsize and so on. You can probably guess what they do already. And if you can't, a truly excellent PowerShell-like local Help system explains all.
- add: sfk ping, ping multiple ip addresses in one go.
experimental, requires admin rights.
- add: xe and base/xd: option -xarc to read contents of
any zip file regardless of file extension.
reads the first bytes of every file and therefore
performs slower then -arc.
- add: extended list of well known archive file extensions
by open office file formats:
.odt .ods .odp .odg .odc .ott .ots .otp .otg
- add: xmlform: support for multiple tags in one line,
may now read xml files or stdin directly.
- add: automatic ip expansion now also supports .n.n
e.g. sfk sft .1.29 may connect to 192.168.1.29
- add: sfk wget: display of msec used for download.
- add: sfk today: alias of sfk list -today
- add: sfk big: alias of sfk list -big
- add: sfk time -from n to recalc a unix time value
- add: sfk dirtime, list file system time of a folder
without it's sub folders or contained files
- add: sfk touch under windows: option -copyctom to copy
creation into modification time instead of using
- add: sfk windows: touch -date year 2038 support.
- fix: diverse 32/64 bit time related fixes.