Select Page

Driftnet – misc scripts

#!/bin/bash mpixW=250 mpixH=300 if [ “x`which identify`” != x ] ; then echo `which identify` found! echo Tossing images less than $mpixW pixels. while true ; do read img imgType=$( expr `identify -format ‘%e’ “$img”` ) if [...

Driftnet x64 Fix

apt-get source driftnet START COPY BELOW LINE ———https://bugzilla.redhat.com/attachment.cgi?id=134667——— — driftnet-0.1.6/image.c 2002-07-09 20:26:41.000000000 +0100 +++ driftnet-0.1.6.new/image.c 2006-08-22 21:14:38.000000000...

Sort files by date to directory

echo “Please wait while I sort your files by date.” for a in *.jpeg; do date -r $a +%y%m%d >/dev/null && { dof=$(date -r $a +%y%m%d) if [ ! -d $dof ]; then mkdir $dof fi mv $a $dof/ }...

Perl – Send Email via Secure Mail Server

#!/usr/bin/perl -w # Modules Needed: # apt-get install libssl-dev # perl -MCPAN -e shell # install Net::SSLeay # install IO::Socket::SSL # install Authen::SASL # install Net::SMTP::SSL use Net::SMTP::SSL; sub send_mail { my $to = $_[0]; my $subject = $_[1]; my $body =...