This is a simple script that will rename files. Takes an absolute path as input, and looks for files with a specific string in its name. Will not traverse up the specified path. It will keep a log of the last run in the script’s directory. I have more than 500 files that need to […]
Wait For Trigger File – Unix Shell Snippet
So recently I was doing doing some bash scripting and required a functionality that would allow my script to wait for for a trigger file in order to execute. After some thinking, I was able to some up with a function to perform the required action.
How to Send Email – Unix Shell Snippet
I’m sharing two code snippets that will send an email. These snippets accept three parameters: a subject, an email address and a text file containing the email message.
bulkGetter – A Script Wrapped Around wget
Basically bulkGetter functions as a downloading command line tool accepting an input file as a feed with the desired link(s) to download. It can download files, save them to a specified location, rename them and it also supports resuming downloads. For this tool to work, you need to have ‘wget’ tool, if you have Linux, […]