bash: Copy everthing except …

If you want to copy multiple files, keep the permission, and want to exclude multiple files from being copied this can be done with the following code: tar cp –exclude-from=$EXCLUDE $FROMDIR | (cd $DESTDIR ; tar xpv) $EXCLUDE contains the file that contains the...

Bilder nach png oder pdf konvertieren

Bilder mithilfe der geeigneten Tools in png oder pdf umwandeln eps2png-all.sh #!/bin/sh for file in $(ls *.eps); do eps2png -png -resolution=300 $file ; done eps2pdf-all.sh #!/bin/sh for file in $(ls *.eps); do epstopdf $file ; done svg2pdf inkscape -E...