LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2015, 05:38 PM   #1
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 290

Rep: Reputation: 41
Listing the contents of a device


On the left side of the Dolphin screen, there are several categories, one of which is "Devices". These include (on my system) "Asus","Bluetooth", a couple of disks, and some others. They aren't listed under those names within root. Their contents can be displayed in the Dolphin window, but how can I list them from the command line using ls?
 
Old 11-12-2015, 05:58 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Hi...

I'm not entirely sure what you mean but would the following commands be of help?

Code:
lshw -short
Code:
lshw
Regards...
 
Old 11-12-2015, 06:24 PM   #3
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 290

Original Poster
Rep: Reputation: 41
lshw produces a huge amount of output but nonetheless doesn't show anything for the devices I'm particularly interested in at the moment -- the files on an Android phone accessed via mtp.
 
Old 11-12-2015, 07:13 PM   #4
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by pwabrahams View Post
lshw produces a huge amount of output but nonetheless doesn't show anything for the devices I'm particularly interested in at the moment -- the files on an Android phone accessed via mtp.
So you're trying to access or download files from an Android phone and it's not being recognized by your system? If your connecting to the phone by USB, does "lsusb" show anything? I'm not sure what you're trying to do here.

Regards...
 
Old 11-12-2015, 08:37 PM   #5
pwabrahams
Member
 
Registered: Nov 2005
Location: Deerfield MA
Distribution: OpenSuSE, Kubuntu
Posts: 290

Original Poster
Rep: Reputation: 41
camera: is an example

For an attached digital camera, camera: will list the photos on the camera, but ls camera: will not.
 
Old 11-12-2015, 09:49 PM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 6,277
Blog Entries: 3

Rep: Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841Reputation: 841
Quote:
Originally Posted by pwabrahams View Post
For an attached digital camera, camera: will list the photos on the camera, but ls camera: will not.
Hi...

If using ls for this is possible, I'm not sure how to do it. I did find some switches (or flags) here, although I'm not sure if it will be able to tell you anything new.

Regards...

Last edited by ardvark71; 11-12-2015 at 09:50 PM. Reason: Correction.
 
Old 11-12-2015, 11:44 PM   #7
Dman58
Member
 
Registered: Nov 2010
Location: The Danger Zone
Distribution: Slackware & everything else in a VM
Posts: 287

Rep: Reputation: 29
You have to do identity the device name that it gets when plugged in. CAMERA definitely wouldn't be an option but something like

Code:
ls /media/something/or/other
Code:
ls /run/cam01/dcim
Possibly you can right class click on the device or in the url area of Dolphin to get the absolute path

Try using a file manager on the Droid to see how it identifies these things then input that same info for the 'ls' command
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Listing Zip file contents prasanta_sadhukhan Linux - General 1 10-20-2009 08:43 AM
Listing contents of a DVD gymnart Linux - General 16 01-18-2008 12:21 PM
apache listing directory contents sneakyimp Linux - Software 1 08-10-2006 01:08 PM
list contents of directory without listing contents baddah Linux - Newbie 2 06-12-2006 05:02 AM
where to find listing of distribution contents? mfeat Fedora 3 09-21-2004 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration