Linux

Rename image files according to EXIF date

This rename trick can be run in Windows, Linux and even Mac since the commandline program I’m going to use, exiv2, is available in all three platforms. Rename all image files in current folder to the format YYYYMMDDHHMM_Filename.EXT This has been tested on my Nikon D80 JPEG and NEF image files. Linux exiv2 -r’%Y%m%d-%H%M_:basename:’ rename […]

Read More
Windows

Delete print queue in Windows 2003 Server manually

It is sometimes necessary to delete the print queue when a printjob won’t be deleted from Printers and Faxes. To delete print jobs manually you should stop the Print Spooler service from and then delete all the files in the C:\Windows\System32\Spool\Printers\ folder. Remember to start the Print Spool service afterwards, otherwise nowone can print. Please […]

Read More
Network

SFTP in batch mode

This post describes how you use sftp in batch mode. If you don’t want to type in your password read my SSH without a password post.Create a file named myCommands.sftp that contains the commands you want to run. My file looks like this # Change to your desired directory locallylcd /data/Hattori# Change to the desired […]

Read More
Linux

SSH Without a Password

The following steps can be used to ssh from one system to another without specifying a password. Notes: The system from which the ssh session is started via the ssh command is the client. The system that the ssh session connects to is the server. These steps seem to work on systems running OpenSSH. The […]

Read More
Photo etc

Resize and watermark images using Imagemagick

This is a modified version of my Resize of images in a folder with imagemagick post back in February. Only difference this time is that i strips out EXIF tags and the script has been cleaned up a bit. Click on the image to see the result in full size. #!/bin/bash # Description: # Script […]

Read More