Quick and easy sharing of a directory over HTTP in Linux
Say you want to share a folder for a friend. What better way than pointing him to an URL? Put this in your .bash_profile and login to your account. alias webshare=‘python -c ”import Simpl[...]
Say you want to share a folder for a friend. What better way than pointing him to an URL? Put this in your .bash_profile and login to your account. alias webshare=‘python -c ”import Simpl[...]
If you ever want to find out how much space your packages are using, do a simple dpkg-query -Wf ‘${Package}\t${Installed-Size}\n’ [...]
Using the command line, you can search for files larger than a given filesize using find /path/to/dir-containing-files -type f -size +1024k This will search for files larger than 1MB (1024k). Use multiples of 8 to change[...]
If you downloaded a Flash FLV file and want to convert it to an audio or video file, do the following: For audio: ffmpeg -i input.flv -ar 44100 -ab 160 -ac 2 output.mp3 For video: ffmpeg -i input.flv -s 352×288 -b 5[...]