Looks like you're using Internet Explorer 7.0. For a better browsing experience either upgrade your browser or get a better one like Chrome.

bruzed

  • About
  • Portfolio
  • Archives
  • Contact
03
09.09

Terminal commands

0
Posted in Code Tagged svn, terminal

Basic SVN and other terminal commands that I use all the time!

#-----------------
# Import db
#-----------------
$ ./mysql -u root --password=root dbname < sqlfilename.sql

#-----------------
# Export db
#-----------------
$ ./mysqldump -u root --password=root dbname > dbbackupname.sql

#-----------------
# List hidden files
#-----------------
$ ls -a
$ ls -la

#-----------------
# Delete file/folders
#-----------------
$ rm -rfi [path/filename]

#-----------------
# Untar files
#-----------------
$ tar -zxvf filename.tar.gz

#-----------------
# Tar files
#-----------------
$ tar cjf filename.tar.bz2 /path/to/drupal/

#-----------------
# list file permissions
#-----------------
$ ls -l
$ sudo chmod 777 file.name

#-----------------
# copy directory
#-----------------
$ cp -rp /path/to/directory /path/to/backupdir

#-----------------
# start svn server
#-----------------
$ sudo -u www /sw/bin/svnserve -d -r /Users/al/svnrepo

#-------------------
# checkout a project
#-------------------
$ svn checkout svn://localhost/project1

#---------------
# basic commands
#---------------
$ svn up             # update
$ svn add [file]     # add
$ svn ci -m "msg"    # commit
$ svn log

#--------------------------
# file/directory management
#--------------------------
$ svn copy foo bar
$ svn mkdir foo
$ svn mv foo bar
$ svn rm foo

#------
# other
#------
$ svn status
$ svn diff
$ svn revert
$ svn info
$ svn list URL
$ svn list svn://localhost/

from: Basic SVN commands | devdaily.com.

Share|

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *


× four = 12

  • Categories

    • Code
    • Experiments
    • Interesting People/Work
    • Medium
      • Installation
      • Light
      • Physical
      • Platform
      • Print
      • Projection
      • Sound
      • Video
      • Web
    • Podcasts
    • Portfolio
    • Portfolio Archive
    • Press & Recognition
    • Prototypes
    • Thesis
    • Tools
    • Type
      • 3D
      • A/V Systems and Machines
      • Application
      • Audio Synthesis
      • Computer Vision
      • Data Visualization
      • Game Design
      • Information Design
      • Interactive Design
      • Interface Design
      • Musical Instrument
      • Performance
      • Physical Computing
      • Sound Design
      • Visual Design
      • Web Development
      • Wordpress Plugin
      • Wordpress Theme
  • Recent Posts

    • Transmutation
    • Field Internships in Information Design
    • TweetCatcha on The Huffington Post
    • Shredboard semifinalist in 2010 Adobe Design Achievement Awards
    • social sqncr @ ART|SCI, CNSI, UCLA
    • social sqncr
    • social sqncr @ MIT
    • Hypnagogia
    • social sqncr on typeslashcode blog
    • social sqncr @ onezero 2010
  • Tags

    Flash Maya processing supercollider last.fm Ableton Live OpenFrameworks max/msp/jitter terminal Javascript Flex Builder reaktor After Effects audacity runes of magic jQuery speakjet Python osc second life YouTube API Wordpress Illustrator actionscript Photoshop Wordpress Plugin API openGL API mrmr iphone XML PHP Yahoo! Weather API imovie AIR PyGame git vsti CSS GuitarRig garageband Google Maps API C++ Newswire openCV svn arduino MySQL picchip BBPress waveshield NYTimes OSCemote HTML
  • People

    • Adrienne Michetti
    • Allyscope
    • Baxter Crabtree
    • Claytical
    • David Calvo
    • Denise Flasz
    • GreyC
    • Hilary Fenton
    • Jen Cotton
    • Joe Saavedra
    • Kunal D. Patel
    • Lawrence Mascia
    • Nick Hardeman
    • Rupa DasGupta
    • sava
    • umi
    • Vargatron
  • Archives

    • January 2012
    • January 2011
    • November 2010
    • August 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • April 2008
    • March 2008
    • December 2007

Recent Stuff

  • Transmutation
  • Field Internships in Information Design
  • TweetCatcha on The Huffington Post
  • Shredboard semifinalist in 2010 Adobe Design Achievement Awards
  • social sqncr @ ART|SCI, CNSI, UCLA

Tags

reaktor git Python Illustrator Wordpress Plugin API CSS Flex Builder terminal OpenFrameworks Photoshop Maya picchip MySQL OSCemote audacity AIR processing jQuery speakjet API BBPress Wordpress second life Flash openGL max/msp/jitter XML actionscript openCV osc C++ PHP Google Maps API PyGame arduino HTML garageband supercollider Javascript svn

Feed

  • Listened to Black Hand Side - Queen Latifah.
  • Listened to Show Me Love - Robin S.
  • Listened to Regulate - Warren G.

Connect

connect Twitterconnect LinkedInconnect Deliciousconnect Vimeoconnect Last.fmconnect Soundcloud

Design & code by bruzed. Powered by Wordpress