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 335 posted 13 years ago by renekreijveld
0 587 posted 13 years ago by hamsterbacke82
Taken from http://ubuntuforums.org/showthread.php?t=255556
0 588 posted 13 years ago by sergeygerasimov
Handy, especially when you have large logs and you want to see what just happened
0 616 posted 13 years ago by bionic
Great command to time the running of scripts in bash
0 519 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 572 posted 13 years ago by Carolyne
Right at the bottom
1 753 posted 13 years ago by bionic
Simple bash script that sorts a series of numeric parameters using a temporary file and sort command.
0 496 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 478 posted 13 years ago by eliluminado
0 604 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 442 posted 13 years ago by dogrizz
0 575 posted 13 years ago by austinhappel
0 480 posted 13 years ago by trusktr
0 435 posted 13 years ago by hamsterbacke82
From: http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
0 627 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 399 posted 13 years ago by Dracos
1 535 posted 13 years ago by benoitpointet
0 308 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 572 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 587 posted 13 years ago by benpjohnson
0 659 posted 13 years ago by traeregan
Allows you to look for an exact word search
0 513 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 415 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 731 posted 13 years ago by niels_bom
3 1009 posted 13 years ago by nohn
1 ... 5 6 7 8 9 ... 17