Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
When you log into the disk image, there's a checkbox to remember your password. As long as you don't check that, you're OK (but you do have to enter the password each time you mount the image, of course).

OK, I just made one and you're right. You can opt to not have it stored.

[...]

@mac2x: No, I'm 16, hahaha. Do you know if it's possible to not have the password stored?

Then I'm afraid there's not much you can do then if your parents demand you to let them use your account. Just use the encrypted dmg and if they are as computer illiterate as you say, they probably would have no clue what it is if they saw it. Wait 2 more years and then you can boot em off your account. :D
 
the size that you set for a sparse image is the maximum size.

set it to 10 gigs and it will start at 0, and the size will increase as you add to it.
It is dynamically expanding.
 
EDIT: Would I still set the size for like 8GB? I set it to 100MB and it wouldn't let me copy files to it because there was not enough free space.
See my second post :eek:

Also, with the AppleScript thing, would there be a way to make it check the status of the defaults write to see if it's TRUE or FALSE? This way I could have it do the opposite of what it returns, so I won't have to have two files.

Again, use AppleScript Editor, save as an application:

Code:
-- Setting the main part of the shell script to a variable will save space and be more legible
set on_off to "defaults write com.apple.finder AppleShowAllFiles "

-- Are hidden files visible? Get the curent value from the prefs file
set hidden_files to do shell script "defaults read com.apple.finder AppleShowAllFiles"

if hidden_files is "true" then
	-- If they're visible we hide them
	do shell script on_off & "FALSE"
else
	-- If not we show them
	do shell script on_off & "TRUE"
end if

-- To take effect the Finder must restart
do shell script "killall Finder"
 
Do you mind me asking what you are trying to hide? I probably already know...

Bank information, my passwords, etc. Stuff they don't need to see.

(Not what you were expecting! Hahahaha)

@Wondercow: Alright, sweet. Thanks for all of the assistance. While I find the password protected disk image a lot more secure, this answers my original question, and I'm still going to use it in the future. I think I'm going to add Bash to a list of my to-learn coding languages. Do you know where I could find tutorials on the basics?
 
Bank information, my passwords, etc. Stuff they don't need to see.

(Not what you were expecting! Hahahaha)

I think what we all expected you to be hiding is under "etc" in the above sentence ;)

@Wondercow: Alright, sweet. Thanks for all of the assistance. While I find the password protected disk image a lot more secure, this answers my original question, and I'm still going to use it in the future. I think I'm going to add Bash to a list of my to-learn coding languages. Do you know where I could find tutorials on the basics?

This should give you more than a good start.

http://www.freeos.com/guides/lsst/

Classic Shell Scripting by O'Riley is also a really hand reference book to have about if you need to get something done.

One tip if you rename your shell script to .command it will automatically be opened in the terminal and run which makes them a lot more fire and forget than having to load them up manually.

I have written shell scripts to do everything from updating a game data folder with the latest beta through to fixing common OS setup problems on end users machines, shell scripts are amazingly powerful things :)

Edwin
 
@cluthz: Haha ok, you got me!
@edddeduck: Thank you for the guides, I will start practicing. Would it be possible to create a widget out of the AppleScript App?
@mac2x: Thank you! Nice and discrete. I actually updated it again so now it looks even more like a legit system file...
http://cl.ly/a277ce76e999c1e9260f
 
@Wondercow: Alright, sweet. Thanks for all of the assistance. While I find the password protected disk image a lot more secure, this answers my original question, and I'm still going to use it in the future. I think I'm going to add Bash to a list of my to-learn coding languages. Do you know where I could find tutorials on the basics?
Yes, the disk image is a much more secure way to go, but now you'll have two choices (and anyone searching Google and finding the thread will have an answer too). Not to mention that little nagging curiosity in the back of your mind "I wonder if it's possible, hmmm....." :D

As far as learning Bash, I can't really help you (but others can, I see) as I don't really do much in Terminal. I do all of my scripting in AppleScript—only knowing the shell commands that I need to accomplish my task.
Bank information, my passwords, etc.
There's nothing wrong with a little etc. If the worst thing my daughter does is keep an etc. collection I'l be a happy, happy man ;)
 
Yes, the disk image is a much more secure way to go, but now you'll have two choices (and anyone searching Google and finding the thread will have an answer too). Not to mention that little nagging curiosity in the back of your mind "I wonder if it's possible, hmmm....." :D

As far as learning Bash, I can't really help you (but others can, I see) as I don't really do much in Terminal. I do all of my scripting in AppleScript—only knowing the shell commands that I need to accomplish my task.

There's nothing wrong with a little etc. If the worst thing my daughter does is keep an etc. collection I'l be a happy, happy man ;)

"I wonder if" it's possible to create a widget out of the AppleScript app for even more convenience?
 
or a ‘Hide Specified Finder Items’ automator action.

if you make one, i wouldn’t mind taking it :)
 
or a ‘Hide Specified Finder Items’ automator action.

if you make one, i wouldn’t mind taking it :)

See above, then see http://www.mediafire.com/?xvuf6w43ip1w4uf.

This is a Folder Action workflow; double-click the workflow to open Automator, at the top right choose a folder (it should default to "etc." :D ) to attach it to, save. Keep the folder on your desktop (or wherever you like) and anything dropped into it will magically vanish. If you'd rather have an app or a service then just make a new workflow and copy the contents of mine—it's but one action (you really should have been able to figure this out yourself :p ).
 
See above, then see http://www.mediafire.com/?xvuf6w43ip1w4uf.

This is a Folder Action workflow; double-click the workflow to open Automator, at the top right choose a folder (it should default to "etc." :D ) to attach it to, save. Keep the folder on your desktop (or wherever you like) and anything dropped into it will magically vanish. If you'd rather have an app or a service then just make a new workflow and copy the contents of mine—it's but one action (you really should have been able to figure this out yourself :p ).

Oh, lol...I figured it out. I didn’t know this action already existed, ‘rename finder items.’


and OP, im gonna show you how you can make two applications. One will hide all the stuff you want and one will show them all.
 
This May Seem A Little Unnecessary, But It Gets The Job Done, And Their Is No Coding To Do.
Pictures Will All Be After The Tutorial

- Open Automator, Choose Application
- Drag Every Folder And File You Want To Hide Into The Automator Window (Doesn't Have To Be All At Once)
- Drag 'Rename Finder Items' In From The Library, Click 'Don't Add'
- In 'Rename Finder Items' Change 'Add Date Or Time' To 'Add Text'
- Change 'After Name' To 'Before Name'
- In The Text Box, Type A Period
- Write Down Or Take A Screenshot Of The Names Of Everything You Added In
- Save It As An Application, And Then Run It
- Now Open Terminal
- Type In The Following Without The Apostrophes 'defaults write com.apple.finder AppleShowAllFiles TRUE'
- Then Type In 'killall Finder'
- Now Create Another New Automator Application
- Locate All The Files You Added In Last Time, They Should All Be Dimmed And Have A . Before Them
- Drag Them All Into The Automator Window
- Drag 'Rename Finder Items' In From The Library, Click 'Don't Add'
- In 'Rename Finder Items' Change 'Add Date Or Time' To 'Replace Text’
- Make Sure Its Set To Basename Only
- In The First Text Field Type A Period
- Leave The Second (Replace:) Text Field Blank
- Save It As An Application
- Now Open Terminal
- Type In The Following Without The Apostrophes 'defaults write com.apple.finder AppleShowAllFiles FALSE'
- Then Type In 'killall Finder'
- Now Run The First One When You Need Stuff Hidden
- Run The Second One When You Don't Need Them Hidden Anymore

*Remember That This Will Only Hide And Unhide The Specified Files And Folders

First Automator
firstauto.png


First Terminal
firstterm.png


Second Automator
secondauto.png


Second Terminal
secondterm.png
 
and OP, im gonna show you how you can make two applications. One will hide all the stuff you want and one will show them all.

Well actually, Wondercow already showed me how I would make an application that does that. And, to make it simpler, it checks the status of the preference file so if it's set to true already, it makes it false, and vice versa. That way you only need one application. I can send it to you if you want. I called it Alacazam, hahaha. http://cl.ly/6b0531ef25ba9ea42585.

I'd still like to make a widget out of it, so I can have it on my dashboard for easy access. Or even make a widget that will put a period in front of a specified file to hide it, and take the period away when you want to see it.
 
(you really should have been able to figure this out yourself :p ).

Well I've had my Mac since December and only now am I figuring out what Automator is for. Because I've never used it, I have no clue how to do the simplest things within it. So I would be able to make a widget through automator using the same workflow? Like I said, I've never even opened Automator until a few days ago.
 
Well I've had my Mac since December and only now am I figuring out what Automator is for. Because I've never used it, I have no clue how to do the simplest things within it. So I would be able to make a widget through automator using the same workflow? Like I said, I've never even opened Automator until a few days ago.

That post was a reply to Corndog. I'm trying to nudge you toward post #39 ("my boredom is your benefit"); follow the link to get your Dashboard widget.
 
That post was a reply to Corndog. I'm trying to nudge you toward post #39 ("my boredom is your benefit"); follow the link to get your Dashboard widget.

Ohh, my apologies. When I clicked on the link my browser showed post #40. How did you make that? I'd like to make one of my own.
 
so...use an automator appliction (or anything else that you would prefer) to hide files that you want, and then just toggle hidden files on and off?
that doesn’t seem like a great solution. I hate seeing all those .DS_Store files and stuff.
 
so...use an automator appliction (or anything else that you would prefer) to hide files that you want, and then just toggle hidden files on and off?
that doesn’t seem like a great solution. I hate seeing all those .DS_Store files and stuff.

Well when I came here with my question, I originally had my file hidden by putting a period in front of it. I wanted to know how I would make a script that would toggle AppleShowAllFiles TRUE or FALSE, so I wouldn't have to open terminal all the time. I was shown how to do this in AppleScript, and even make it so it checks the status of the preference file so if it's TRUE it makes it FALSE and vice versa.

However, I learned that it is more secure to use a read-write sparse disk image, so I strayed away from that method.

I would still like to make a widget that would allow you to choose a file or folder to hide. It would put a period in front of it when you don't want to see it, and take it away when you do.

I would also like to make my own widget that will show and hide files. Wondercow, I appreciate you making one for me, but I'd like to make one myself so I can learn for future reference. Could you direct me to a tutorial or show me on here how I'd make one?
 
so...use an automator appliction (or anything else that you would prefer) to hide files that you want, and then just toggle hidden files on and off?
that doesn’t seem like a great solution. I hate seeing all those .DS_Store files and stuff.


nevermind, I get it.

You just unhide, remove the . in front of the folder name, and then rehide.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.