Get File Path w Filename

Discussion in 'OS X Mountain Lion (10.8)' started by doubledee, Jul 20, 2013.

  1. macrumors 6502

    doubledee

    Joined:
    May 14, 2012
    Location:
    Arizona
    #1
    In Mountain Lion, is there an easy way to get the File Path + Filename of a file selected in Finder?

    (It seems like there was a way to do this in Snow Leopard - although it was a PITA - but I don't see anything in ML.)

    There are lots of times I want/need this, and right now it would help when I check the SHA1 for apps I download.

    For example, if I downloaded something like OpenOffice in my "reallyLongPathTo/zDownloads" directory, it would help to quickly copy the File Path + File name from Finder so I can paste it into Terminal and easily run a check on the SHA1 digest.

    Sincerely,


    Debbie
     
  2. macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
  3. thread starter macrumors 6502

    doubledee

    Joined:
    May 14, 2012
    Location:
    Arizona
    #3
    I tried this...


    So how do I find this "service" I created?

    What if I need to rename it or delete it?


    Debbie
     
  4. macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #4
    You should be able to see the service, rename it or delete it from within the Automator app.
     
  5. thread starter macrumors 6502

    doubledee

    Joined:
    May 14, 2012
    Location:
    Arizona
    #5
    But I don't...


    Debbie
     
  6. macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #6
    It may be simpler for you to just drag the file into the Terminal window to get the file path.
     
  7. thread starter macrumors 6502

    doubledee

    Joined:
    May 14, 2012
    Location:
    Arizona
    #7
    I'm going to try that when my OO download is done, and the script above works, but I just want to know where it is stored so if I ever want to Rename it, Copy it, Delete it, etc I know how to...


    Debbie
     
  8. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #8
    Services are kept in this Folder. ~ = your personal users folder. Shift-command-g (all three at once) in Finder then paste this in and enter.

    Code:
    ~/Library/Services
     
  9. thread starter macrumors 6502

    doubledee

    Joined:
    May 14, 2012
    Location:
    Arizona
    #9
    Is that a hidden directory?

    If so, how do I show hidden directories in Finder?

    Sincerely,


    Debbie
     
  10. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #10
    Yes... by default the user library folder is hidden. You can option key click the Go menu in Finder to see it, or you can run the command below in Terminal to keep it unhidden. It will get hidden again every time a new OS update comes out like 10.8.5.

    Code:
    chflags nohidden ~/Library
     
  11. thread starter macrumors 6502

    doubledee

    Joined:
    May 14, 2012
    Location:
    Arizona
    #11
    Is it bad to leave that unhidden?

    And how would I reverse it?

    Maybe...

    Code:
    chflags nohidden ~/Library
    :confused:

    Sincerely,


    Debbie
     
  12. macrumors P6

    Weaselboy

    Joined:
    Jan 23, 2005
    #12
    You can hide it again with the command below, but there really is no downside to leaving it unhidden. Apple just hides it to keep uninformed users from getting in there are breaking things by tinkering around.

    Code:
    chflags hidden ~/Library
     
  13. macrumors 6502

    HenryAZ

    Joined:
    Jan 9, 2010
    Location:
    South Congress AZ
    #13
    Unhide it, and drag it to the Finder sidebar, where it will remain unhidden through updates.
     
  14. thread starter macrumors 6502

    doubledee

    Joined:
    May 14, 2012
    Location:
    Arizona
    #14
    Thanks for the help everyone!!!

    Sincerely,


    Debbie
     

Share This Page