How do you get access to the .DS_store file?

Jump to First Reply
Posted:
in macOS edited January 2014
How? Links? Apps?
«1

Comments

  • Reply 1 of 26
    chuckerchucker Posts: 5,089member
    "Access"?
     0Likes 0Dislikes 0Informatives
  • Reply 2 of 26
    Quote:
    Originally Posted by Chucker


    "Access"?



    yes. how do i access the .DS_store file.
     0Likes 0Dislikes 0Informatives
  • Reply 3 of 26
    chuckerchucker Posts: 5,089member
    To do what? Delete it? It's binary, so it's not like you'd find much worthwhile information in there.
     0Likes 0Dislikes 0Informatives
  • Reply 4 of 26
    outsideroutsider Posts: 6,008member
    Why?



    From the terminal cd into a folder where you want to view the .DS_Store file and type "cat .DS_Store". Pretty boring stuff though.
     0Likes 0Dislikes 0Informatives
  • Reply 5 of 26
    i wanted to change my icon of my hard drive
     0Likes 0Dislikes 0Informatives
  • Reply 6 of 26
    chuckerchucker Posts: 5,089member
    Quote:
    Originally Posted by C.A.T.S. CEO


    i wanted to change my icon of my hard drive



    So select the hard drive, do Get Info, select the icon, and paste a new one.
     0Likes 0Dislikes 0Informatives
  • Reply 7 of 26
    Quote:
    Originally Posted by Chucker


    So select the hard drive, do Get Info, select the icon, and paste a new one.



    how do i paste it?



    EDIT: it worked!!!
     0Likes 0Dislikes 0Informatives
  • Reply 8 of 26
    Quote:
    Originally Posted by C.A.T.S. CEO


    EDIT: it worked!!!



    <snarkyReply>Of course it did, it's a Mac </snarkyReply>
     0Likes 0Dislikes 0Informatives
  • Reply 9 of 26
    One more question. I know that if you name a file with a "." as the 1st letter the file will turn invisible. Can I take a file (or folder) and name it with a "." and be able to access it?*





    (*I know that there is software out there that can do this but I don't want to spend any money.)
     0Likes 0Dislikes 0Informatives
  • Reply 10 of 26
    Quote:
    Originally Posted by C.A.T.S. CEO


    One more question. I know that if you name a file with a "." as the 1st letter the file will turn invisible. Can I take a file (or folder) and name it with a "." and be able to access it?*





    (*I know that there is software out there that can do this but I don't want to spend any money.)



    From the terminal, sure. ("ls -a" will list all files in a folder) Plus, you can search for invisible folders in the finder.
     0Likes 0Dislikes 0Informatives
  • Reply 11 of 26
    outsideroutsider Posts: 6,008member
    Plus plus you can open the file from the terminal by typing open ~/Users/username/Documents/yourFilePath/'.my porn links and password.doc'
     0Likes 0Dislikes 0Informatives
  • Reply 12 of 26
    Quote:
    Originally Posted by Outsider


    Plus plus you can open the file from the terminal by typing open ~/Users/username/Documents/yourFilePath/'.my porn links and password.doc'



    I did: open ~/.blah.txt/ in Terminal and it said that there was no such file. I know that I saved it so what happened?
     0Likes 0Dislikes 0Informatives
  • Reply 13 of 26
    Quote:
    Originally Posted by C.A.T.S. CEO


    I did: open ~/.blah.txt/ in Terminal and it said that there was no such file. I know that I saved it so what happened?



    the file has to exist first
     0Likes 0Dislikes 0Informatives
  • Reply 14 of 26
    lundylundy Posts: 4,466member
    Where did you save it? "~/" refers to the top level of your home directory.
     0Likes 0Dislikes 0Informatives
  • Reply 15 of 26
    Just curious.

    Presuming (according to your first question, which implies that you are

    working with a Finder in its default setting, well, no direct access to hidden files...)

    you are working with the Finder in its default state, how the heck did you force the

    finder to accept a "." as a first character? It doesn't work for me at least.



    By the way, where did you get the conception from, in order to change the HD icon

    you have to dig into .DS_Store files? Just curious.



    Another question, if privacy is your main concern, why don't you just create a

    password protected Image?
     0Likes 0Dislikes 0Informatives
  • Reply 16 of 26
    Quote:
    Originally Posted by slughead


    the file has to exist first



    I DID SAVE IT. I'll try it again.



    EDIT: heres a image:

     0Likes 0Dislikes 0Informatives
  • Reply 17 of 26
    Quote:
    Originally Posted by Vox Barbara


    Presuming (according to your first question, which implies that you are

    working with a Finder in its default setting, well, no direct access to hidden files...)

    you are working with the Finder in its default state, how the heck did you force the

    finder to accept a "." as a first character? It doesn't work for me at least.



    I saved a .txt file in my home folder called .blah.txt. Finder didn't say anything.



    Quote:

    By the way, where did you get the conception from, in order to change the HD icon

    you have to dig into .DS_Store files? Just curious.



    I read on the web that the .DS_Store file has all the information for a folder (like the size of the window, the view options, etc.....). So I assumed that you would have to get in the .DS_Store file to change the icon.\



    Quote:

    Another question, if privacy is your main concern, why don't you just create a

    password protected Image?



    Because I don't want anybody to find it. If I had a password protected disk image they know somethings in it because it would show in Finder.
     0Likes 0Dislikes 0Informatives
  • Reply 18 of 26
    lundylundy Posts: 4,466member
    Finder puts up a warning dialog if you try to save a file with a leading dot.
     0Likes 0Dislikes 0Informatives
  • Reply 19 of 26
    Quote:
    Originally Posted by lundy


    Finder puts up a warning dialog if you try to save a file with a leading dot.



    That's the way it is supposed to work, fortunately.
     0Likes 0Dislikes 0Informatives
  • Reply 20 of 26
    Quote:
    Originally Posted by C.A.T.S. CEO


    ...



    Because I don't want anybody to find it. If I had a password protected disk image they know somethings in it because it would show in Finder.



    Why don't you just use an USB stick for that matter?

    Btw, if you want to get access to a hidden file (which you know for

    sure, that it must exist on the disk) you can almost always find that

    particular file by a simple Finder search. Just set one of the search

    criterias to find unvisible, too. Plain and simple.

    In your case, i doubt it pretty much, that it would be a bearable solution,

    but there are tools to hide/show hidden files on the Mac temporarily.

    I just call one word, Onyx. Now Google is your friend.
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.