Swiss File Knife
a command line
free external tools,
- download the free swiss file knife base from sourceforge. - unpack the tool using winzip or unzip. - open the Windows Command Line or a Linux shell.
sfk filefind [or ff] pattern [pattern2 !pattern3 ...] [opts] easy file name finder for the current directory tree. if you remember any words of a filename, or its path, type "sfk ff " and the words to find matching filenames. to type even less, try "sfk :" followed by the first word, without blank: "sfk :word1 word2 ..." note: - searches the current directory "." and all subdirectories. - the full filename paths, including relative filenames, are compared (not just the relative filenames). - the patterns are AND combined (not OR as with list), meaning that ALL given patterns must appear in a path to have it listed. the pattern sequence is ignored. - options may appear anywhere. - exclude patterns starting with ! are also supported. options -time list also file times. -size list also file sizes. chaining support output chaining is supported. examples sfk filefind foo bar !save lists all files in the current directory tree having both foo and bar in their path+filename, regardless of sequence. files having "save" in their path (or name) are excluded. sfk ff foo*bar thing +fview similar to the above, lists all files having bar AFTER foo in their path+filename. thing must also be present. resulting files are loaded and shown in Depeche View. sfk :.pdf list all .pdf files down somewhere in the directory tree. sfk :debug*.o +del delete all debug executables in the current directory tree. see also: sfk list dirname filenamepattern ... sfk list dirname +filter -+pattern1 -+pattern2 ...
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).
read more about all sfk functions here.