Category Archives: Shell Script

Auto FTP Scripts

From time to time, I would need to transfer large amount of files using FTP. I doesn’t like to do it manually. And always let the scheduler/cron handle the file transfer automatically. This is the batch script for Windows platform. … Continue reading

Posted in Shell Script | Tagged | Leave a comment

Backup MySQL on Amazon EC2 to Amazon S3

As I’m running hanneng.sg on the Amazon Elastic Compute Cloud. The WordPress is running quite stable. The next thing on my mind is about backup. Amazon Cloud is offering 10GB of Elastic Block Storage (EBS) plus 1 million I/Os for … Continue reading

Posted in Shell Script | Tagged , , , , , | Leave a comment

ST701.com Classified Hack Part 2

Continue from Part 1 I hate to do repetitive tasks and perform so much mouse clicks just to do such simple and boring thing. So, in this post, I’m going to show you how to hack ST701 Shops to re-publish … Continue reading

Posted in Shell Script | Tagged , | 3 Comments

ST701.com Classified Portal Hack Part 1

I have been using ST701.com Shops system to post classified ads to sell some of my collection items. I’ve highlighted in previous post that the ST701 Shops system is not perfect yet. There is no re-publish function to re-list expired … Continue reading

Posted in Shell Script | Tagged , | 1 Comment

Confirm The Input

In many case, when developing a menu system using shell script, it will be good to prompt the user to confirm that it is okay to run a script. for example: Are you sure to run this task? [Yes | … Continue reading

Posted in Shell Script | Tagged | Leave a comment