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 331 posted 13 years ago by renekreijveld
0 575 posted 13 years ago by hamsterbacke82
Taken from http://ubuntuforums.org/showthread.php?t=255556
0 566 posted 13 years ago by sergeygerasimov
Handy, especially when you have large logs and you want to see what just happened
0 595 posted 13 years ago by bionic
Great command to time the running of scripts in bash
0 504 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 558 posted 13 years ago by Carolyne
Right at the bottom
1 734 posted 13 years ago by bionic
Simple bash script that sorts a series of numeric parameters using a temporary file and sort command.
0 487 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 470 posted 13 years ago by eliluminado
0 594 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 434 posted 13 years ago by dogrizz
0 565 posted 13 years ago by austinhappel
0 467 posted 13 years ago by trusktr
0 422 posted 13 years ago by hamsterbacke82
From: http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
0 614 posted 13 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 392 posted 13 years ago by Dracos
1 522 posted 13 years ago by benoitpointet
0 300 posted 13 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 558 posted 13 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 573 posted 13 years ago by benpjohnson
0 643 posted 13 years ago by traeregan
Allows you to look for an exact word search
0 497 posted 13 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 402 posted 13 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 720 posted 13 years ago by niels_bom
1 ... 5 6 7 8 9 ... 17