How to control or throttle SCP file transfer speed

I wanted to control how fast SCP copy data between two Linux servers. On a Linux system this can easily be achieved using the “SCP -l” switch. In my case I had to make sure to not exceed 0.5 Mbit/s Since the “-l” parameter uses Kbit/s the correct value in my case is 500 scp …

Continue reading

Want to use Spring 3.0 milestone release from Maven?

I wanted to add the Spring 3.0 M4 milestone early access release to a Maven project to test out some of the new features. However SpringĀ  milestone releases are not readily available in the standard public Maven repositories, so what do you do? For the full explanation check out the link to “Spring/Maven Repositories” link …

Continue reading

How to automatically provide an answer to Unix commands

How do you automatically provide an answer to a Unix command for example cp: overwrite `destination/./b.txt’? Many Unix/Linux commands that operate on files may stop and ask for confirmation for each file before completing an action. Of course for many Unix/Linux commands there are parameters that allows you to specify the desired behavior, but there …

Continue reading