Welcome To Snipplr


Everyone's Recent Snippets Tagged Bash



1 ... 5 6 7 8 9 ... 17
Usage: setowner james Will set all files in current directory and all subdirectories to owner james:james
0 429 posted 13 years ago by renekreijveld
0 750 posted 13 years ago by hamsterbacke82
Taken from http://ubuntuforums.org/showthread.php?t=255556
0 719 posted 13 years ago by sergeygerasimov
Handy, especially when you have large logs and you want to see what just happened
0 760 posted 13 years ago by bionic
Great command to time the running of scripts in bash
0 690 posted 13 years ago by bionic
Found on the Ubuntu forum: http://ubuntuforums.org/showthread.php?t=1355021 Renames files to 0001.jpg, 0002,jpg etc You can insert a prefix here: "prefix-$j.jpg"
0 728 posted 13 years ago by Carolyne
Right at the bottom
1 906 posted 13 years ago by bionic
Simple bash script that sorts a series of numeric parameters using a temporary file and sort command.
0 653 posted 13 years ago by Hexx
Dos formas de usar la función 'sleep' de Python. Two ways to use the 'sleep' function in Python.
0 595 posted 13 years ago by eliluminado
0 776 posted 13 years ago by therobot
Script will extract all flv's or other videos specified to mp3. You can change *.flv to prob. any other extension. Tested on *.mp4 and *.flv
0 602 posted 13 years ago by dogrizz
0 698 posted 14 years ago by austinhappel
0 610 posted 14 years ago by trusktr
0 576 posted 14 years ago by hamsterbacke82
From: http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
0 772 posted 14 years ago by edeustace
This crude script will export individual icons from an SVG file when using a single canvas workflow, especially for Tango Desktop style icons.
0 528 posted 14 years ago by Dracos
1 675 posted 14 years ago by benoitpointet
0 421 posted 14 years ago by mann
This snippets leaves out all other files like .png, .jpg, and everything else that appears in a normal music library (artwork, images, etc. ...) and only calculates the size of music (.mp3) files
0 719 posted 14 years ago by limepix
1. Create a proxy on 8080 to foreword traffic to your server 2. Install Foxyproxy and use options 127.0.0.1:8080 and SOCKS5 enabled 3. Profit
1 748 posted 14 years ago by benpjohnson
0 822 posted 14 years ago by traeregan
Allows you to look for an exact word search
0 669 posted 14 years ago by karmacode
Eu ouço podcasts no mp3 do carro. Problema: Se quero adiantar 10 minutos, preciso ficar 3 minutos com o dedo pressionando o >> :( Solução: Dividir podcasts com mais de 40Mb em trechos de 5 minutos. A linha abaixo acha esses arquivos no cartÃ...
0 538 posted 14 years ago by gpupo
I use this bash oneliner all the time to recursively search for a string in large codebases. I use it when searching for mentions of tables, databases, function definitions, function calls etcetera.\r\n\r\nIt searches through a number of file types (...
1 887 posted 14 years ago by niels_bom
3 1216 posted 14 years ago by nohn
1 ... 5 6 7 8 9 ... 17