While some users firmly believe that the era of desktop PCs at its dawn and touch is the future, the truth is that a little command line knowledge goes a long way and can save you a lot of time, when it comes to getting things done fast and efficiently. Swiss File Knife is a utility designed to help you automate accomplish routine tasks on your computer, like editing documents or run an HTTP server for instance, considerably quicker using command lines. It does not require setup and you can use it immediately After you download it and you open it right away by simply typing in its short name – sfk – followed by the task you would like to perform. It is necessary to mention that the app can run even from a USB stick, so you can take it with you anywhere to save time and complete tasks faster. The obvious downside of the utility is that it does not include any sort of interface, a setback that makes it inaccessible for users who are not familiar with command line and scripting in general. Enables you to perform a wide variety of tasks The trump card of the application stems from the scripting support it is capable of. Not only can you perform advanced tasks, such as creating HD5 hashes or find data in binary files, but you can also run commands on every file in a folder in a loop. Among the other commands the utility can help you do faster you can count cutting videos and binary files, finding duplicate files, synchronizing a folder tree, send UDP requests, remove blank spaces in file names, rename entire directories of files, so on and so forth. An excellent command line tool From allowing you to view directory tree contents and delete folders to converting hex data to binary and managing HTTP servers, Swiss File Knife can help you automate all of the tasks you need to perform on your computer considerably faster and much more efficiently. Advertisement Sometimes, the fastest way to accomplish a task such as sorting files or editing text documents is to use quick command line tools. If you’ve followed my recent scripting articles, then you know that I really like command line programming. I use, but lots of readers still use the old batch jobs, which still work well. However, there is a really cool tool called Swiss File Knife (sfk), which extends the sort of scripting set we’ve all become accustomed to. The tool includes the usual command file functions that you may be used to, like mkdir, copy or list, but it extends your cmd powers with other amazing features like easily manipulating files, analyzing folders, and even higher level functions not usually associated with command line commands. Setting Up Swiss File Knife Setting up sfk on your computer is really easy. First, and place the executable somewhere on your hard drive, and then edit the PATH in the environment variables so that the path where that file is located is included. Reboot your computer, and then you’re ready to get started. There are loads of really that you can kick off with sfk, but I wanted to touch on the ones that I liked the most. One of the useful commands that come in handy when you’re trying to figure out what folders or directories are hogging all of your computer hard drive space is the treesize command. “sfk treesize [directory]” will run down through all subdirectories, showing you how many files each directory has and the total memory consumption. This will go through the entire directory and rename any file with a space in it, replacing spaces with the underscore character. Getting into some of the more advanced features of sfk is the snapto command, which can take multiple text files and collect the contents into a single file. This is really useful for collecting a collection of log files all into one file. The command for this is “sfk snapto=filename.txt”. Filename.txt is the name of the output file where you want all of the combined text contents to output to. One of my favorite commands in sfk is the httpserv command. By simply navigating to a particular folder and typing “sfk httpserv”, you can instantly launch a simple web server, with that directory as the root web directory. The command uses your computers current network IP address as the web host IP, so any other computer on the network can open up that directory by opening up a web browser and typing that IP into the address. This is a really cool way to instantly share out an HTML page you may be working on, or if you want to quickly show someone the contents of a folder over the network. While you might be tempted to use this to share out files, like pictures or movie files, it’s actually faster to launch a quick FTP server using my other favorite sfk command, ftpserv. When you type “sfk ftpserv”, it will instantly launch an ftp service so that any user on your network can open up an FTP client and connect to that directory via FTP file transfer. Here is Filezilla connected to my laptop computer after I enabled the service on the laptop through the “sfk ftpserv” command. These are just a few of the cool things you can do with sfk. If you load it onto a USB drive, just think of the powerful commands at your fingertips no matter what computer you are on. Plug in your USB stick and use sfk commands to launch and instant web service, or to quickly scan through a collection of documents, looking for specific words and joining together multiple files with just one or two quick command lines. Swiss File Knife is the swiss army knife of command line programming tools, and it’ll make your life a whole lot easier. Give it a shot and let us know which commands you like best. Share your thoughts in the comments section below. The Wenger Giant is the world’s largest Swiss Army knife, packing 141 functions into 87 implements. At 9” wide and 32 ounces, this dang thing is so big that you. Download Swiss File Knife for free. One hundred command line tools in a small and portable binary. Replace text in files, search in files using expressions, stream text editor, instant command line ftp and http server, send folder via network, copy folder excluding sub folders and files, find duplicate files, run. To upgrade Swiss File Knife, run the following command from the command line or from PowerShell. Aug 27, 2016 How to Use a Swiss Army Knife. And the key ring. Pull tweezers and a plastic toothpick from the end of the knife handle. Find the nail file. One-stop Windows command line tool Swiss File Knife has just been updated to version 1.7.7. Advertisement Sometimes, the fastest way to accomplish a task such as sorting files or editing text documents is to use quick command line tools. If you’ve followed my recent scripting articles, then you know that I really like command line programming. I use, but lots of readers still use the old batch jobs, which still work well. However, there is a really cool tool called Swiss File Knife (sfk), which extends the sort of scripting set we’ve all become accustomed to. The tool includes the usual command file functions that you may be used to, like mkdir, copy or list, but it extends your cmd powers with other amazing features like easily manipulating files, analyzing folders, and even higher level functions not usually associated with command line commands. Setting Up Swiss File Knife Setting up sfk on your computer is really easy. First, and place the executable somewhere on your hard drive, and then edit the PATH in the environment variables so that the path where that file is located is included. Reboot your computer, and then you’re ready to get started. There are loads of really that you can kick off with sfk, but I wanted to touch on the ones that I liked the most. One of the useful commands that come in handy when you’re trying to figure out what folders or directories are hogging all of your computer hard drive space is the treesize command. “sfk treesize [directory]” will run down through all subdirectories, showing you how many files each directory has and the total memory consumption. This will go through the entire directory and rename any file with a space in it, replacing spaces with the underscore character. Getting into some of the more advanced features of sfk is the snapto command, which can take multiple text files and collect the contents into a single file. This is really useful for collecting a collection of log files all into one file. The command for this is “sfk snapto=filename.txt”. Filename.txt is the name of the output file where you want all of the combined text contents to output to. One of my favorite commands in sfk is the httpserv command. By simply navigating to a particular folder and typing “sfk httpserv”, you can instantly launch a simple web server, with that directory as the root web directory. The command uses your computers current network IP address as the web host IP, so any other computer on the network can open up that directory by opening up a web browser and typing that IP into the address. This is a really cool way to instantly share out an HTML page you may be working on, or if you want to quickly show someone the contents of a folder over the network. While you might be tempted to use this to share out files, like pictures or movie files, it’s actually faster to launch a quick FTP server using my other favorite sfk command, ftpserv. When you type “sfk ftpserv”, it will instantly launch an ftp service so that any user on your network can open up an FTP client and connect to that directory via FTP file transfer. Here is Filezilla connected to my laptop computer after I enabled the service on the laptop through the “sfk ftpserv” command. These are just a few of the cool things you can do with sfk. If you load it onto a USB drive, just think of the powerful commands at your fingertips no matter what computer you are on. Plug in your USB stick and use sfk commands to launch and instant web service, or to quickly scan through a collection of documents, looking for specific words and joining together multiple files with just one or two quick command lines. Swiss File Knife is the swiss army knife of command line programming tools, and it’ll make your life a whole lot easier. Give it a shot and let us know which commands you like best. Share your thoughts in the comments section below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2018
Categories |