Using 'ls' to get a directory listing of a flash drive

After tracking down information on how to identify a 'flash drive' to OS X (in Terminal), I used the ls command to get a list of the contents of the flash drive (redirected to a file).
Since then, however, I haven't been able to locate the file in the Finder, nor does Spotlight find it.
Curiously, it does list in Terminal.
Is /Volumes (the working directory) a 'hidden' directory that has to be 'unhidden' to be seen by the Finder?
If not, why can't I locate the file that contains the list of files on the flash drive?
Thanks.

Will Go To Folder locate any folder anywhere on the computer (without having to include any 'path' information) -- i.e., just by entering the folder's name?
No, Go To Folder has no search capability at all. You have to know the path.
From my reading, it is a very old and peculiar hybrid function, going back at least to Jaguar, that uses Unix path notations and displays the result in a Finder window.
So since ~ is Unix shorthand for "home folder", and your personal trash there is in an invisible folder named .Trash, you can see you own trash via
Finder>Go> Go to Folder
enter ~/.Trash
and click Go
You can't look into another user's trash this way. Go to Folder respects permissions, and you can't go to a folder that is forbidden to you.

Similar Messages

  • How to get a directory listing in XE?

    So how would you best get a directory listing?
    There was a lovely thread about using dbms_scheduler to make external calls:
    Re: External procedure calls supported?
    Which discussed how to run an external prcoedure. So using that technique would an approach be:
    create procedure get_dir(p_dir varchar2)
    --get sequence for directory call
    --call 'synronous dbms_scheduler that executes "ls -l > /tmp/listing[sequence]
    --create external table temp_dir_[sequence]
    --load it into a global temp table ala ASKTOM http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:439619916584
    --drop the external table
    Someone on Asktom said they were going to do it via dbms_pipe but was not forthcoming with an example.
    I'm not sure I like creating and dropping an external table every time this procedure is called and I feel I am missing a technique (or a good idea) to make this work effectively.
    Kind Regards,
    James
    Got the link to the 'External procedure calls support' wrong.
    Message was edited by: jcrockart

    Ok.
    Well here is the solution... Can I make it better?
    FROM OS (oracle user):
    vi ~/get_dir.sh
    #!/bin/sh
    ls $1 > /tmp/$2
    exit 0
    ##end
    FROM SYS:
    create directory OS_TMP as '/tmp';
    grant read,write on directory OS_TMP to hr;
    grant create table to hr;
    FROM HR:
    create global temporary table DIR_LIST
    ( filename varchar2(255) )
    on commit delete rows
    --create the following:
    CREATE OR REPLACE procedure get_dir_list (
    p_directory     in varchar2
    IS
    l_jobname VARCHAR2 (100);
    BEGIN
         l_jobname := DBMS_SCHEDULER.generate_job_name (prefix => 'get_dir_list');
         dbms_output.put_line(l_jobname);
         --dbms_output.put_line('ls '||p_directory||' > /tmp/blah');
         --creat syncrhous job
         DBMS_SCHEDULER.create_job (
              job_name => l_jobname,
              job_type => 'EXECUTABLE',
              job_action => '/home/oracle/get_dir.sh',
              number_of_arguments => 2,
              enabled => FALSE,
              comments => 'directory listing for '||p_directory);
         DBMS_SCHEDULER.set_job_argument_value (l_jobname, 1, p_directory);
         DBMS_SCHEDULER.set_job_argument_value (l_jobname, 2, l_jobname);
         -- Run job synchronously.
         DBMS_SCHEDULER.run_job (job_name => l_jobname, use_current_session => TRUE);
         -- Remove job after run
         DBMS_SCHEDULER.drop_job (l_jobname);
         --create external table
         execute immediate '
              create table '||l_jobname||'_ext
              file_name               varchar2(1000)
              organization external (
              type          oracle_loader
              default     directory os_tmp
              access parameters (
                   records delimited by newline
                   fields terminated by '',''
                   missing field values are null
                   file_name)
              location ('''||l_jobname||''')
              reject limit unlimited';
              execute immediate '
              INSERT INTO DIR_LIST(FILENAME) select file_name from '||l_jobname||'_ext
    END;
    --test it
    exec get_dir_list('/home/oracle')
    GET_DIR_LIST14
    PL/SQL procedure successfully completed.
    hr>select * from dir_list;
    FILENAME
    apex
    apex_3.0.1.zip
    get_dir.sh
    go.log
    go.txt
    test.sh
    6 rows selected.
    hr>
    Apologies for butchering Dietmar Aust dbms_schedule example.
    I can't drop the external table as the data in the global temporary table will be lost, so I will have to periodically clean up after this procedure.
    Please somebody feel free to give me the one line solution ;-)
    Regards,
    James

  • Urgent: Want to get the directory listing

    Hi,
    My iAS and iWS reside on separate unix machines.
    My pdf files being a static content reside on iWS.
    My application which is deployed on iAS, wants to
    know the names of the pdf files residing on iWS.
    Can anyone tell me, as to whether there is any way
    for an application deployed on iAS to get the directory
    listing of files residing on a separate machine.
    Is there any API which will be of help ?.
    I guess there must be some APIs associated with the
    web connector installed on the machine where iWS is installed.
    Regards,
    Amar.

    <i>Can anyone tell me, as to whether there is any way
    for an application deployed on iAS to get the directory
    listing of files residing on a separate machine.</i>
    No. More specifically, the appserver doesn't have any special awareness of external filesystems. (The webconnector does not have any API's that would expose the webserver's files. That would be a huge security violation.)
    You could always NFS mount the webserver so that the appserver could see it. This has some security concerns, but you are going to have security concerns anytime that you are exposing your webserver's files directly.

  • I bought a used macbook air,  it didn't come with the flash drive to do a factory reset.  Can I download the info needed and save it to my own flash drive and then do a factory reset?  If not what can I do?

    I bought a used macbook air,  it didn't come with the flash drive to do a factory reset.  Can I download the info needed and save it to my own flash drive and then do a factory reset?  If not what can I do?

    If it originally shipped with Mac OS X 10.6.8 or earlier, click here, phone Apple, and order a replacement.
    If it originally shipped with Mac OS X 10.7 or newer, restart it with the Option, Command, and R keys held down.
    (113079)

  • How do I get my library off of my flash drive onto my new computer?

    I just got a new computer today, so this morning I made sure to put everything that has to do with itunes on my flash drive so I could transfer my library onto the new computer. I have tried following many steps on how to move a library from an old computer to a new one, but so far I have only recovered purchased songs. I have plugged in my flash drive into the new PC and I can see the itunes library file, but when I click it, nothing happens. I hhave installed itunes on the new PC and like I said only some of my songs are in it. When I plug my ipod nano into my new PC, I get a message asking if i want to scan and fix my ipod. I have hit "continue scanning", but if I do hit scan and fix, will that erase all the songs on my ipod? I really can't have that happen, so I'm trying to be very cautious on what I do. Also, I have my ipod plugged in and in itunes I hit the arrow next to my ipod and it shows the drop down menu including my music. All of the songs that are in my old library and currently on my ipod are there, but they're all grayed out. I've tried copying the music folder to my ipod and it says I don't have enough space, but like I said, I am not going to erase all of the songs on my ipod. If someone could please help me out I'd really appreciate it! By the way I have Windows 7.

    This is how you should have done it. I don't know if you still have the files to do it this way:
    iTunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Start iTunes with the option (shift on Windows) key held down and guide it to the new location of the library.

  • How to use alias to get the columns list?!?

    Is there a way to make raptor show the columns list of a table when typing like
    "select * from table a where a....(waiting for columns list)" ?
    Tks,
    Claudio.

    you cant do it with aliases and we have a bug logged on that. however, you can use the full tablename followed by a . and then the insight list will be populated. ctrl-Space will do completion too

  • I cannot get my computer to recognize the flash drives that I plug into the usb ports

    I tried to locate a file from a memory stick and I could not get my usb port to recognize that I had inserted a memory stick in the usb ports.

    No. I use VMFusion Version 2. I have not had this issue before. I have tried multiple memory sticks and they are not being recognized.

  • Can I get HomeSync to work with a Flash Drive

    Like my friend can use HomeSync with his flashdrive but I don't know how. Is it possible and if it is, how?
    Thanks

    I had updated my video card driver fairly recently and I use the GeForce Experience to keep up-to-date, but when I looked I didn't have the latest driver.  After installing it, the GPU acceleration is now working.  Thanks!

  • How do I get an EVENT saved on a flash drive?

    I have exported my projects and imported them again to make them events so they could all be put together for one long video.  When I play it back, it plays perfectly just as I wanted it to.  The problem now, is that I don't know how I can save it to a flash drive. :/  Any help would be great!
    RCallaham

    Just create a new project and select the whole video clips in that event to this project for output.
    How to select the whole video clips: Press Shift + right click on one video clip and choose the option: Select Entire Clip.
    Hope it helps. Note: the output must be in Project but not Event.

  • HT201269 Am I able to copy a Play List to a flash drive ?

    Am I able to copy a Playlist from my PC to a Flash Drive ?

    http://support.apple.com/kb/ht1751
    iTunes: Back up your iTunes library by copying to an external hard drive
    or go to iTunes>File>Libray>Export Libray
    Also see:
    https://discussions.apple.com/message/21938023#21938023

  • Provide list of compatible flash drives to create system restoe

    I have purchased 2 different flashdrive to build a system restore backup.  Neither are recognized by the softare.  Both drives were fat32.  Reformatting to NT file format did not help.  This HP has been the worst experience ever with any computer.

    Hi wishIhadadell,
    Welcome to the hp forum!
    I understand you have tried 2  different flash drives, formatted at fat 32 and NTFS, and they are not recognized by the software. 
     Here is a document on Creating Recovery Discs or Saving a Recovery Image to a USB Flash Drive (Windows 8). You will note the flash drive cannot be larger then 32GB. What size were the flash drives you tried?  If you require further assistance, would you  please provide the exact model on HP computer you have, and the operating system you are running.  How Do I Find My Model Number or Product Number?
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Get directory listing or files contained in a folder which is placed on a s

    Hello,
    I want to get the directory listing of a particular folder say 'xyz' which is placed on the server.
    I am using tomcat. I want to use Http to do it. How do it do it.
    Please guide.
    Regards,
    JAVA_student

    JAVA_student ,
    as pointed out file list is (in productional environments) usually turned off for security reasons.
    But I had a similiar requirement to the one you posted. I had a directory with thousands of image files with the name pattern <id>.jpg and the id's stored in a database. Not for every id in the database there existed a file. I wanted to show an image or in case the image file did not exist a default jpg. I could not set the error pages in web.xml to do it.
    So I had to take the id (a parameter in the request to the servlet I wrote for that), had to concat it with the 'virtual' directory name used in the applicationserver for the img directory. Then I had to check the existance of the file and to load it it and display it, if it existed otherwise I had to load and display the default picture.
    The problem is similiar to yours as the problem basically is to map a directory in a web application to a real directory in a filesystem (which works for files and directories.
    The answer is use getRealPath(String) of the ServletContext-object.
    Note: This only allows access to files and directories in the web application.
    e.g.
    http://www.theserver.com/mywebapp/img/ is a folder containing img files. The server does not allow directory listing.
    In a jsp within the application mywebapp you want to show a list of the files in /mywebapp/img/ .
    <HTML>
    <BODY>
    <%
    // in a jsp application gives you access to the context
    String sRealPath = application.getRealPath("/img") ;
    java.io.File fDir = new java.io.File(sRealPath) ;
    java.io.File[] allFiles = fDir.listFiles() ;
    for (int i = 0 ; i < allFiles.length;i++) {
       String sName = allFiles.getName() ;
    %>
    <%=sName%><br>
    <%
    %>
    </BODY>
    </HTML>

  • CME Directory list

    Hi all, I'm racking my brain with this one.
    I typed http://192.168.10.252/localdirectory into a web browser and was hoping to get an xml view of my CME phone directory instead I get an XML browser error:
    “The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    XML document must have a top level element. Error processing resource 'http://192.168.10.252/localdirectory'
    “
    I'm trying to publish the directory on the intranet (using ASP) but so far I have had no luck getting the directory list. I have tried using the XML Api but all I can get is a list of extension numbers with no names using:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/1999/XMLSchema">
    <SOAP-ENV:Body>
    <axl xsi:type="request"
    xmlns="http://www.cisco.com/AXL/1.0"
    xsi:schemaLocation="http://www.cisco.com/AXL/1.0
    http://gkar.cisco.com/schema/axlsoap.xsd">
    <request xsi:type="ISgetExtension">
    <ISgetExtension>
    <ISExtNumber>all</ISExtNumber>
    </ISgetExtension>
    </request>
    </axl>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Any help on this would be greatly appreciated.
    Thanks,
    Craig.

    Hmm
    try this:
    http://yourCM-IP:8080/ccmcip/xmldirectorylist.jsp
    (never rely on DNS when dealing with IP telephony) it will return an xml parse error (as happened with you) but again when you view the page source you will see the XML directory list.
    P.S: this is for a list on IP phones added on call manager 6 , you van use the directories URL on the Phone's config page.

  • Directory Listing from Web

    Hi All,
    I am trying to populate a menu with a list of PDF files from
    a particular folder. I've got this working perfectly for a local
    path using the FileXtra4 xtra, but I'm stumped with getting a
    folder from the web. I've tried the Buddy Web xtra, but it returns
    an empty list when I use:
    fileList = bwFileList("
    http://www.awebsite.com/stuff/",
    Maybe I could embed a Flash Movie and have Flash pass the
    list to Director?
    I'm using Director and Flash MX 2004
    Any help much appreciated
    Thanks guys,

    Hi,
    I'm not sure about Buddy Web xtra (I've not used it), but you
    have a couple of other options:
    1. Use the excellent free and for absolutely no sane reason
    depreciated MultiUSer Xtra to create a network connection with an
    ftp server and use standard ftp commands to get a directory
    listing. see
    http://www.lingoworkshop.com/Testzone/FTP_Client_Test.php
    2. Use getNetText to ask a server-script to return the list
    of files. This is probably the safest but is dependent on the
    server (example php script attached).

  • ACE 4710 blocking FTP WLSD directory listing

    Hello
    I have a ACE 4710 setup in a test environment(and context) with 2 filezilla FTP servers on the back end and a Win7 laptop on the front end with a FTP client(s).  The ACE is setup to load balance by source(the requirement for our project).
    When the laptop tries to FTP to the Filezilla FTP servers it connects, enters passive mode, and sends a WLSD command to get a directory listing, but never gets it.  If the Win7 laptop is put on the same vlan as the Filezilla FTP servers, behind the ACE, everything works fine.
    As far as I can tell the ACE configs doesn’t have any sort of deny acl acting on this traffic.  *attached*  The FTP client always connects, its just the directory listing that doesn't seem to work.. and we need it to work for the app this is targeting.
    Any help is greatly appreciated.
    e-

    Yeah me too!
    So after much packet capturing and hair pulling and general dismay, we(me, another admin, and a local var ccie) think this is a app layer issue.  We added the inspect command but it wouldnt take without a nat pool in place, so we added that.
    We found a packet in the FTP client that tells the server the real IP of client to the server.  This is the only oddity that we can locate.  Of course I admit we arent using a ACE in the normal way an ACE would be used, we LB by source not destination.
    I put telnet servers on my targets and they also communicate directly to the clients IP, but they layer 2 back to the ace first, whereas the FTP server doesnt.  We are still working on it to try and find a way to make FTP happy.
    e-

Maybe you are looking for

  • My iPhone and iPod do not show up on iTunes when connected to my mac.

    iPhone and iPod do not show up when connected to iTunes.

  • Quicktime will not open

    Hi guys. Im needing your help once more : ( when I try to open quicktime I get the error message # 2096 have tried uninstalling and then installing again . Any help would be greatly appreciated. Thank you evelyn

  • Exporting PDF's out of InDesign CS5.5?

    I have a bunch of users in my newsroom that are having various different issues (yes we have 3rd party extensions and no we can't disable them and put out a paper that way...kind of between a rock and a hard place there!).  One of the issues is expor

  • Viewsonic VX2255 Monitor Microphone

    I am trying to use the microphone and webcam built into my Viewsonic VX2255 monitor. The web cam works fine using the provided USB input, however the audio setup has proved more troublesome. This second hand monitor didn't come with the proprietary a

  • Need SQL statement to generate a sequence number in the output rows

    Hi folks. I need to create an SQL statement that generates a sequence number column in the output rows (records) such that the first returned row has this column set to 1, second returned row has the column set to 2, etc. For example, consider the qu