So you've just watched a movie, you like it and want a backup copy of it. You've looked in your browser's cache directory and you've looked in your computer's tmp directory but you just can't find the flash file for the video; and you won't find it because Flash deletes the file then reads and writes the deleted file using it's file descriptor. Whatever you do, do not close the browser tab that your video is playing in. The following instructions apply to Linux. The example below shows how to copy a Flash (flv) file that's been played in Google's Chrome browser. Details for doing this … [Read more...]
How to Let a Bash Script User State the Number of Question Fields
Now that's some title for a post. I Couldn't think how to shorten it but it is shorter than the original title I wanted to use. Anyway, a couple of weeks ago I needed to figure out how to write a Bash script that let its users state how many fields or questions the script should request information for and what those field names should be. It took less than five minutes to solve the problem but I thought I'd post my solution here in hope that someone else finds it useful or knows a better solution. Here's what I came up with. It's an input loop script that continues to request input for as … [Read more...]
BASH: Filling Web Forms with cURL and wget

Oh gosh, another cURL and web form post! I couldn't resist writing this one. While finding information on formfind I noticed an absence of direct help for people wishing to use it so I thought I'd fill the gap in the market. Questions this post answers: How do I fill out an online form without visiting a website? How do I send information to online forms from my desktop? How do I use Bash to fill online forms? How do I find form fields in a website's source code? How do I download a webpage with wget? How do I download a webpage with cURL? How do I use formfind? Filling … [Read more...]

