Facebook Twitter Instagram
    WiredRevolution.com
    • Home
    • About
    • Contact Us
    • Essential Linux Commands
    • Sitemap
    Facebook Twitter Instagram
    WiredRevolution.com
    commands

    Download digital camera photos with gphoto2

    RyanBy RyanNovember 29, 2008Updated:November 29, 20082 Comments2 Mins Read
    Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Email

    gphoto2 allows you to directly connect a digital camera over USB and transfer the saved images and videos to your computer. This is very helpful when you don’t have access to a media card reader.

    Install the gphoto2 package on your system.

    In Gentoo:

    # emerge media-gfx/gphoto2
    

    In Ubuntu:

    # aptitude install gphoto2
    

    Start off by connecting your digital camera to your computer with a USB cable and turning on any transfer/playback mode that might exist.

    Run the following command to see if your camera is auto-detected by gphoto2. It will show you the camera model that detected and what port it is on.

    $ gphoto2 --auto-detect
    

    This will show you all the files that are currently stored on your camera including images and videos. You will get data such as type, size, and location on the camera device.

    $ gphoto2 --list-files
    

    Change your current working directory to the location that you want the images saved on your system.

    $ cd ~/camera_images/
    

    Now you can download all the images and videos from your camera to your current working directory on your system.

    $ gphoto2 --get-all-files
    

    Once all images are downloaded to your computer you can clear the camera. Make sure your images are stored on your system correctly because there is no going back.

    $ gphoto2 --delete-all-files
    
    Share. Facebook Twitter Pinterest LinkedIn WhatsApp Reddit Email
    Previous ArticleFirefox Keyboard Shortcuts
    Next Article Remove Windows carriage returns with tr

    Related Posts

    Fix insync Gnome Shell extension error on Ubuntu

    Netflix now working on Ubuntu Linux

    Fix OpenGL: ChoosePixelFormat SketchUp error in WINE

    Most Commented
    March 12, 2009

    Fix blue tinted video in Ubuntu

    September 10, 2010

    Setup SSH access between VirtualBox Host and Guest VMs

    March 8, 2011

    Install GNOME Shell in Ubuntu 10.10 Maverick

    April 4, 2009

    Setup the PS3 Bluetooth Controller on Ubuntu

    October 22, 2008

    How to correctly use LD_LIBRARY_PATH

    Recent Comments
    • Execute command on linux virtual machine (or server) from windows commandline on Setup SSH access between VirtualBox Host and Guest VMs
    • Solved: How to SSH to a VirtualBox guest externally through a host? - Daily Developer Blog on Setup SSH access between VirtualBox Host and Guest VMs
    • How to SSH to a VirtualBox guest externally through a host? [closed] – Code D3 on Setup SSH access between VirtualBox Host and Guest VMs
    • How to copy and paste from VirtualBox? [duplicate] on Setup SSH access between VirtualBox Host and Guest VMs
    • Jackie Laguna on Fix OpenGL: ChoosePixelFormat SketchUp error in WINE
    © 2025 ThemeSphere. Designed by ThemeSphere.

    Type above and press Enter to search. Press Esc to cancel.