3
votes
1answer
44 views

Show hidden files in SELECT folder only

How do I show hidden files in one directory only? I have a development folder that I'd like to see hidden files in, but I don't want to see hidden files anywhere else on my computer. Here is the code ...
3
votes
2answers
369 views

Is it possible to hide files from Terminal's ls?

I am saving some files because I need to reinstall OS X, and noticed oddly high numbers of files in some folders. Is it possible for malware to hide files from ls?
0
votes
0answers
12 views

com.apple.finder AppleShowAllFiles updates automatically [duplicate]

I have been trying to write a shell script which could toggle visibility of hidden files CURRENT_STATUS=`defaults read com.apple.Finder AppleShowAllFiles` NEW_STATUS="YES" if [ "$CURRENT_STATUS" = ...
1
vote
1answer
154 views

How do I show all hidden & invisible files on the command line (both .files and invisible flagged files)?

Is there a way to show only the hidden and invisible files in a directory using the command line? For instance ls -a | grep "^\." will show all the files hidden by a period as the first character, ...
0
votes
3answers
331 views

Permanently show hidden directories

I am trying to repair a friend's USB drive that got a virus. All directories became .lnk and the original ones were hidden. I don't know how to permanently show the folders. I've used sudo chflags ...
6
votes
2answers
337 views

How to remove .DS_Store from command-line auto-completion using cd?

I understand that .DS_store files serve a purpose. That said, they are a nuisance when auto-completing with the cd command. When I type cd in Terminal and press tab twice it lists all directories in ...
4
votes
3answers
862 views

How do I delete a locked, invisible file in the Trash?

On an external disk (that contains a clone), the /.Trashes/501/Users/myusername/Desktop folder contains (within some subfolders) a locked invisible file that I cannot delete. The whole folder starting ...