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
First Terminal
Second Automator
Second Terminal