Category: Command Line

Change the Extension of Multiple Files in Linux

In this example, we will change all files with extension ‘.info’ to ‘.txt’. Rename all *.info files in one folder…

CVS Through Proxy

Command to import a CVS project’s code through a proxy Checkout code from remote server(No Proxy) cvs -z3 -d:ext:binnyva@nexty.cvs.sourceforge.net:/cvsroot/nexty co…

Using CVS from Command Line

cvs -d /var/www/cvs init export CVSROOT=’/var/www/cvs’ cd mypoject_folder cvs import -m “My Project” mypoject binny main #cvs import -m “<Message>”…

Command to Compress/Uncompress tar.gz and tar.bz2 files

Compress folder Test/ to Test.tar.gz tar czfv Test.tar.gz Test/ czfv = ‘Compress Zip File Verbose’ If you want bzip files,…

Remove CVS Information from a Folder

find -name CVS -exec rm -rf {} \; NOTE: Works only with bash

Backup Using Rsync

Backups the script folder to a remote location. Original Article… rsync -avze ssh Scripts/ binnyva@binnyva.com:backup/Scripts/

Mount MDF Image files

mount image.mdf /mnt/image -o loop=/dev/loop0