Multifunktionsdrucker unter Linux

[TOC] alle Angaben ohne Gewähr! Übersicht Drucker Preis Sprache Treiber Duplex Xerox Phaser 6115MFP 835 GDI foo2lava ja Samsung CLX-3175FW 499 GDI Samung, (SpliX, foo2qpdl) nein Brother DCP-9045CDN 799 PCL6 (emul), PS 3 (emul) ? ja HP CM1312nfi MFP 449 PCL6,...

convert Images in batch process

Converting images in a batch process is not difficult in general, but approaches like this fail at filenames/directories with spaces #!/bin/sh for file in $(find -iname *.bmp); do mogrify -verbose -format png $file; done The solution is to use ‘read’ in...

Mount a Samba Share from cheap NAS devices

I recently bought a NAS device called “LANDISK” on ebay (search for SAMBA-FTP-USB-2-0-LAN on google). This device includes a samba server which enables sharing of files on the network. The shared files can be accessed very simple via \\netdisk\\yourshare\....

ucase / lcase

ucase In Großbuchstaben umwandeln #!/bin/sh # for file in $(ls -A); do mv $file $(echo $file | tr [a-z] [A-z]); done lcase In Kleinbuchstaben umwandeln #!/bin/sh for file in $(ls -A); do mv $file $(echo $file | tr [A-Z] [a-z]); done

m4a nach mp3

Konvertiert m4a Musikdateien nach mp3 m4aTomp3 #!/bin/bash # # Convert m4a to mp3 for i in $1/*.m4a do mplayer -ao pcm “$i” -ao pcm:file=”$i.wav” dest=`echo “$i.wav”|sed -e ‘s/m4a.wav$/mp3/’` lame -h -b 192...

latin1 nach utf8

Konvertiert alle Dateien rekursiv unterhalb des aktuellen Verzeichnisses von Latin1 (iso-8859-1) nach utf8 ConvertIsoCharset.script convmv -f iso-8859-1 -t utf8 -i -r –notest $1 # -f ENCODING # specify the current encoding of the filename(s) from which should #...