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 906 posted 15 years ago by renekreijveld
0 1420 posted 15 years ago by hamsterbacke82
Taken from http://ubuntuforums.org/showthread.php?t=255556
0 1426 posted 15 years ago by sergeygerasimov
Handy, especially when you have large logs and you want to see what just happened
0 1480 posted 15 years ago by bionic
Great command to time the running of scripts in bash
0 1453 posted 15 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 1394 posted 15 years ago by Carolyne
Right at the bottom
1 1974 posted 15 years ago by bionic
Simple bash script that sorts a series of numeric parameters using a temporary file and sort command.
0 1352 posted 15 years ago by Hexx
Dos formas de usar la función 'sleep' de Python. Two ways to use the 'sleep' function in Python.
0 1236 posted 15 years ago by eliluminado
0 1567 posted 15 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 1341 posted 15 years ago by dogrizz
0 1298 posted 15 years ago by austinhappel
0 1283 posted 15 years ago by trusktr
0 1225 posted 15 years ago by hamsterbacke82
From: http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
0 1567 posted 15 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 1059 posted 15 years ago by Dracos
1 1530 posted 15 years ago by benoitpointet
0 953 posted 15 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 1475 posted 15 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 1670 posted 15 years ago by benpjohnson
0 1629 posted 15 years ago by traeregan
Allows you to look for an exact word search
0 1297 posted 15 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 1148 posted 15 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 1958 posted 15 years ago by niels_bom
3 2181 posted 15 years ago by nohn
1 ... 5 6 7 8 9 ... 17