Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have plenty of files in a folder with extension of .dep, I want to hide these files. But I don't want to change their names such as adding a dot ahead of them. What would be the best way to do this?

Thanks!

share|improve this question

2 Answers 2

up vote 0 down vote accepted

You can create a file in that folder called ".hidden" and put any filenames you want to hide in there. I don't believe it supports wildcards, but you can use a script to add the filenames every so often:

See this answer: How can I hide directories without changing their names?

share|improve this answer
    
Great, Thanks a lot! –  Daniel Dec 3 '12 at 18:36

You cannot hide file in any other way on linux.

You may want to add a . to the folder containing the .dep files unless there are other files you want to access in the folder.

share|improve this answer
    
OOPS, okay! I have other files in the folders. –  Daniel Dec 3 '12 at 18:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.