RSS Feed

Please wait while my feed loads

See more posts...


Subscribe to either one of our two newsletters for regular updates and information

Downloads newsletter

This is a weekly newsletter with download news, updates and other information

This is a monthly newsletter with software store information, offers and deals

Swiss File Knife 1.8.1

The ultimate command line toolkit?

by Mike Williams

Our Rating:
Your Rating:
Login to rate
Based on 0 ratings
License: Open Source
Operating Systems: Linux, Mac OS X, Windows 7 (32 bit), Windows 7 (64 bit), Windows 8, Windows Server, Windows Vista (32 bit), Windows Vista (64 bit), Windows XP
Languages: English
Software Cost: Free
Date Updated: 02 October 2016
Watchlist: Add download to my watchlist
Downloads To Date: 1507
Developer: StahlWorks Technologies
RSS News Feed:
Back in stock! Malwarebytes 3.0 Premium with a 1-PC LIFETIME license, only $39.99, saving 33%, from
Swiss File Knife
The ultimate command line toolkit?

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.

1.8.1 brings:

- sum: added support for sfk variables, allowing to store data

from a command and to reuse it in other commands.

massive improved scripting.

- ADD: sfk variables. type \"sfk help var\" for infos.

allows to store data produced by one command,

and to reuse it in another command like #(name)

- ADD: sfk perline, run sfk commands per text input line.

similar to sfk run, but without starting an

external program, and with full access

to sfk variables produced by previous commands.

- CHG: Syntax Change: sfk call, if: no longer clears

chain text after command. call will now flush

chain text before entering the label.

- CHG: Syntax Change: sfk echo ... +call +xex

no longer passes text of echo as chain data

through to xex. use tcall for that.

- CHG: Syntax Change: sfk gettext output changed with

text produced by storetext -append. more below.

- add: sfk samp http, create an example script

for web access automation.

- add: sfk xed, xex, xreplace, simple expressions:

[setvar name]...[endvar] to set an sfk variable,

[getvar name] to fill in data from an sfk variable.

- add: sfk xed, simple expressions: keyword [ortext]

to search literals OR combined. can only be used

between literals.

- add: sfk xed, simple expressions: keyword [keep]

to search text that should be kept in input,

without consume or replace.

- add: sfk echo -lines to print every string as one line.

- add: sfk xed: option -firsthit to use only first matching result.

- add: sfk filter: option -line=n to read nth line from input.

- add: sfk web: option -showreq, similar to -status.

- add: sfk find: option -head=n to read only n lines.

- add: sfk batch, alias of sfk samp sfkbat.

may also create .sh files under windows.

- add: sfk xf, alias for xmlform.

- fix: command chaining: unexpected drop of data when

chaining to echo, fromclip, var, gettext, getvar.

e.g. sfk echo foo +echo bar +tofile out.txt

dropped "foo", now it is printed.

- add: command chaining: +tcall to consume text data

and +tend to return text data.

- fix: sfk script -from begin: if script contained

a label begin2 this was called.

- chg: sfk xex, xed: improved help examples, separate

examples for xex and xed.

- chg: sfk samp sfkbat, sfkbash now use %0 or $0

instead of the script filename.

- chg: Simple Expressions: now support zero length tokens

like in "/[start][0 chars][1 char]/"

- chg: sfk samp: path now allowed in output file

with some language types.

- add: sfk xex, xed: option -justrc to just set return code

without printing any output.

- add: sfk ... +tovoid to drop current chain text.

- add: sfk stop: optional text to print, info on rc 9

to stop a script from within call.

dump of chain text on rc >= 9.

- add: sfk call: improved help text.

- FIX: sfk script, call: missing parameters produced errors

or even crashed. now these are just empty.

- fix: sfk ... +run was blocked with http:// url's.

- fix: sfk web -status=... +xex didn't work.

- fix: sfk echo: quoted multi line parms output

contained unwanted CR characters and trailing

blank line.

- fix: sfk web: always produced rc 9.

- fix: run -stoprc: did not work in a script.

- fix: script: +if ... stop -all didn't work,

as "if" misinterpreted options.

- fix: script: +stop no longer requires +then stop.

- fix: gettext: missing linefeeds on terminal output

after multiple storetext -append. workarounds

appending with "\n" must be changed.

- fix: sfk version -own +filter didn't work.

- fix: expression part info didn't show # chars.

- chg: sfk samp sfkbat, sfkbash new templates.

- add: sfk knxsend: support for alternative IP group,

send of search request.

- add: sfk knxdump: option -verbose to print search

response verbosely.

- doc: extended echo help.

- doc: reworked help for sfk script.

- doc: help text for sfk then.


An amazing collection of powerful command line tools. Use some individually, string others together in scripts, it's your call. If you make even occasional use of the command line, then go grab a copy of Swiss File Knife right now.

Your Comments & Opinion
Related Download Articles
Take Command

Take Command 20.11 Build 36 (64-bit)

Trial Software

Bring the Windows command line right up to date with this powerful tool

Batch IDE

Batch IDE 1.0

Open Source

Create batch files and run them with a click

Replace Genius 4.3

Replace Genius 4.3


Automatically process text and data files

Dragon Search for iPhone and iPad

Dragon Search for iPhone and iPad 1.3.0


Search the internet using voice controls

Other Download Articles From This Category

MComix 1.2.1


A comic-oriented image viewer

Bulk Crap Uninstaller

Bulk Crap Uninstaller 3.6.1


Uninstall multiple programs - silently - with a click


neoSearch 2.80


A simple and straightforward search tool

Clover 3.2.6

Clover 3.2.6


Add browser style tabs to your Explorer windows

From Softwarecrew

Please wait while my feed loads

See more posts...

Our Price: $29.99
RRP: $49.99
Saving 40%
Buy Now
Offer Ends In:

Spotlight: Free Full Software

WhatsApp Messenger 2.16.20

Free Full Commercial Software

WhatsApp Messenger is the world's most popular instant messaging app for smartphones.

You can use it to send and receive text and voice messages, photos, videos, even call your friends in other countries, and because it uses your phone's internet connection it might not cost you anything at all (depending on whether you'll pay data charges).

It's easy to set up and use. There's no need to create and remember new account names or pins because it works with your phone number, and uses your regular address book to find and connect you with friends who use WhatsApp already.

You can talk one-to-one or in group chats, and because you're always logged in there's no way to miss messages. Even if your phone is turned off, WhatsApp will save your messages and display them as soon as you're back online.

There's plenty more (location sharing, contact exchange, message broadcasting) and the app is free for a year, currently $0.99/ year afterwards.

What's New in Version 2.16.20

• Bug fixes