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.
- fix: sfk alias didn't work. - fix: sfk ping help: first example didn't work.
- chg: improved help on output chaining error message.
- chg: improved help on input chaining error message.
- chg: udpsend: no longer use gethostbyname on pure ip's.
- chg: global rework of all gethostbyname calls (setaddr).
- add: sfk for windows: option -noesckey to disable stop by escape key.
Initial Release: - add: windows: sfk fixfile, change bad filenames and file times created by embedded devices like PVR video recorders.
- fix: sfk rename: crash on accent chars or umlauts within the search pattern.
- add: ftpserv: LIST now accepts -la, same as -a.
- fix: ftpserv: endless loop on unexpected LIST option.
- add: ftpserv: option -pasvport=n to define PASV port.
- add: windows: option -nofo[llow] now skips symbolic links.
- chg: windows: sfk lindex no longer follows symbolic links by default. use -follow to change this.
- add: sfk num: print number in all kinds of formats.
- fix: sfk snapto: empty files were not added.
- fix: sfk alias -list did not work.
- fix: sfk xe: (x)replace -firsthit truncated file.
- fix: improved cygwin compile.
- add: sfk knxsend: now supports 4 bit messages.
- add: sfk strlen: windows batch example.