Welcome To Snipplr


Everyone's Recent Snippets Tagged linux



1 2 3 4 5 ... 8
0 1018 posted 14 years ago by wnasich
A couple of snippets useful for file management. I use these to make sure I understand how many files I'm about to modify, and then rename them.
0 1003 posted 14 years ago by alassiter
A very simple quick way to count the number of files in a directory.
0 1060 posted 14 years ago by alassiter
0 854 posted 14 years ago by hamsterbacke82
0 656 posted 14 years ago by poluz
1 1003 posted 14 years ago by Risse
Gunzip can currently decompress files created by gzip, zip, compress, compress -H or pack programs.
0 939 posted 14 years ago by TheJasonParker
Ftp your *.sql file to the (remote) machine, login via SSH and then go to the directory where your sql file is and run this code.
0 905 posted 14 years ago by TheJasonParker
as you run chown -R user:group dir
0 1548 posted 14 years ago by silviud
this will display the size of a directory as if you run du -sb dir
0 3095 posted 14 years ago by silviud
This script can be used to install the PECL upload progress PHP extension. You'll know this extension from the Drupal status report page which encourages you to install it.
1 1029 posted 14 years ago by daipratt
I use this to quickly (in one line) copy my own id_rsa.pub to remote server so I can connect w/out using my password.
1 1217 posted 14 years ago by electblake
0 900 posted 14 years ago by bionic
Right at the bottom
1 1130 posted 14 years ago by bionic
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 850 posted 14 years ago by dogrizz
It 's a very simple way to get a little of information. Use for a quickly view.
0 1032 posted 14 years ago by wnasich
From: http://stackoverflow.com/questions/1169927/using-sed-and-grep-to-search-and-replace
0 982 posted 14 years ago by edeustace
1 879 posted 14 years ago by benoitpointet
0 955 posted 14 years ago by tofman
List all FTP users on server
0 963 posted 14 years ago by fillyouin
0 734 posted 14 years ago by xeo
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 986 posted 14 years ago by limepix
1 2 3 4 5 ... 8