Here's one that I use a bit. Its vaguely related to security as it keeps data from prying eyes, so its really handy.
In Windows, you can hide files by the properties menu. Its not very secure, anyone can just undo the menu option.
You can hide files on Macs, but because the process is more involving, it hides files from most users.
Basically, all filenames that start with a fullstop are hidden by default by OSX. You can change this by using the terminal, or by using Applescript. I do it using Applescript like so:
Code:
tell application "Finder" to quit
display dialog "Show Hidden Files..." buttons {"Yes", "No"} ¬
default button 2
copy the result as list to {buttonpressed}
try
if the buttonpressed is "No" then do shell script ¬
"defaults write com.apple.finder AppleShowAllFiles OFF"
if the buttonpressed is "Yes" then do shell script ¬
"defaults write com.apple.finder AppleShowAllFiles ON"
end try
tell application "Finder" to launch
You call this script an innoculous name (rotate picture or something), and then what I do is add the Applescript icon to the menubar at the top, so I can just click-click and show/hide the files.
The other way to do it is through the Linux terminal. You just enter the commands: "defaults write com.apple.finder AppleShowAllFiles ON" and "defaults write com.apple.finder AppleShowAllFiles OFF". You can set up an alias (symbolic link) for this for speed.
You can see your hidden files in Linux without having to unhide them using the Linux list command: "ls". Just add the "-a" to it, like "ls -a" or "ls -al" (which is what I type automatically.). Leave off the speech marks though.
To hide a file, go to terminal, and navigate to the file by using the "cd <folder>" command, like in DOS. Don't forget although OSX isn't case-sensitive, Linux is. You can go back by typing "cd .." and you can save typing long names by typing a few letters and hitting tab until you come to the right filenames. When you get there type: "mv <oldname> <new name with fullstop>" ie "mv nonhiddenfile .hiddenfile"