deepsoul


Member since 07/26/2009

Name: Volker Schatz

Location: N 48deg55'43.4", E 8deg23'29"

Website: http://www.volkerschatz.com

Theoretical physicist posing as an engineer; and polyglot programmer.

10 snippets

3858 profile views

10 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

deepsoul's Recent Bash Snippets



« Prev 1 Next »
This snippet shows how to replace the colours in a monochrome image, i.e. one which only contains two colours and the range of hues between them.
0 528 posted 14 years ago by deepsoul
This script creates thumbnail images containing 25 thumbs each and display the EXIF time and date if your version of ImageMagick supports that (some do not).
0 533 posted 14 years ago by deepsoul
Useful if some files already exist at the destination and are newer or would take too long to copy again.
0 467 posted 14 years ago by deepsoul
When you put an image in a printable document, you don't want it to have black (or coloured) background. ImageMagick allows to replace colours even when the coloured regions are non-contiguous. Arbitrary colour values can be specified with `\#12345...
0 510 posted 14 years ago by deepsoul
Find the most recently modified file in a directory tree and output its name and modification time. Use index 8 or 10 instead of 9 for access and inode modification time, respectively (see perlfunc manual page - function stat). This is great for...
0 611 posted 14 years ago by deepsoul
The tetex implementation of BibTeX, LaTeX's bibliography tool, forcibly breaks lines above a certain length (79 chars) by inserting % signs and line feeds, unless they can be broken between words. This is a problem when URLs are referenced, or if co...
0 665 posted 14 years ago by deepsoul
When using `ln` to create a link in a different directory, the semantics of creating hard and symbolic links differ. That is because a hard link contains a direct reference to its target's data, while a symbolic link is just a string containing a (p...
1 629 posted 14 years ago by deepsoul
URLs: <http://www.chiark.greenend.org.uk/~sgtatham/utils/> <http://kitenet.net/~joey/code/moreutils/> Use one of these nifty utilities to automatically process files in-place. Both store the results of programs which write to stdout until t...
0 553 posted 14 years ago by deepsoul
The following shell function returns the canonicalised abolute path of a file. It resolves symbolic links, /./ and /../ as applicable. This was adapted from various sources. Related snippets on snipplr are [Find absolute path of Bash script](http:...
0 505 posted 14 years ago by deepsoul
0 584 posted 14 years ago by deepsoul
« Prev 1 Next »