Welcome To Snipplr


Everyone's Recent Bash Snippets



1 ... 14 15 16 17 18 ... 41
0 1554 posted 15 years ago by moonbather
Cleans SVN from a directory and all sub directories.
0 1205 posted 15 years ago by skechy
0 1546 posted 15 years ago by traeregan
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 1069 posted 15 years ago by gpupo
0 1383 posted 15 years ago by stayce
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 1853 posted 15 years ago by niels_bom
Put this in /etc/ufw/before.rules
0 1188 posted 15 years ago by kelvinn
updated...
0 1362 posted 15 years ago by nathwill
from: http://www.cyberciti.biz/faq/how-do-i-find-the-largest-filesdirectories-on-a-linuxunixbsd-filesystem/
0 1748 posted 15 years ago by edeustace
1 1486 posted 15 years ago by eme_dlr
0 1190 posted 15 years ago by therobot
0 1180 posted 15 years ago by edeustace
0 1105 posted 15 years ago by edeustace
0 1518 posted 15 years ago by vigoncas
Yes, my code sucks, but I hope it will be useful... :-)
1 1323 posted 15 years ago by ksaver
0 1443 posted 15 years ago by apro2000
This script let you back up your servers at once from a central backup server. First you must copy the central server ssh public key into the servers to backup (without password). After that you can install this script with a cron.
0 1350 posted 15 years ago by eusonlito
Script to backup all MySQL databases and delete copies after X days
1 1559 posted 15 years ago by eusonlito
0 1119 posted 15 years ago by rkumar
0 1543 posted 15 years ago by bdani
Add user foo to group bar
0 1406 posted 15 years ago by smoover
To rename a bunch of files from "*.foo" to "*.bar" (like windows' REN *.foo *.bar) in unix. Looking at the solution, it is easy to adapt it to more powerful character substitutions on a 1 to 1 basis. If you want to test what will be executed b...
0 1595 posted 15 years ago by jarnaldich
Dumps the contents of a mysql database to a .sql file named by the current date.
0 1527 posted 15 years ago by gdvickery
1 ... 14 15 16 17 18 ... 41