Questions tagged [hidden-files]

A file that is normally not visible for the user, unless the user requires to show the hidden files. It is still accessible by name and path as any other file.

A file that is normally not visible for the user, unless the user requires to show the hidden files by turning a setting in file explorer or using additional switch with command line tools. It is still accessible by name and path as any other file.

Windows systems have a true hidden file attribute allowing to hide file having any name. Unix systems (like Linux) do not have such attribute and instead hides all files whose names start from dot (like .ssh). Unix command ls requires an -a switch to list such files and folders.

Hiding files may result more user friendly behavior but it is also a method to mask viruses and other exploits.

214 questions
5
votes
3 answers

In Eclipse, hide files ending in tilde `~`

Eclipse, by default, hides files that begin with . in the Package Explorer, Navigator, and other file views (e.g. .classpath, .settings, etc). Is it possible to hide files which end in ~ (e.g. somefile.txt~). Yes, these are Emacs backup files,…
Chadwick
  • 12,555
  • 7
  • 49
  • 66
5
votes
2 answers

BASH cannot find hidden file that exists using ~/ in path

I have a BASH script that is looking for a hidden file in my home directory. When I specify the absolute path /home/user/.foo in trying to find the file then the script will find it but if I use ~/.foo then the script cannot find the file. Can…
user2989027
  • 1,355
  • 3
  • 9
  • 13
5
votes
1 answer

Saving a file as .RProfile in windows

I have an .RProfile file that I set up on my Mac Laptop. When I tried to save the file after coding it in BBEdit, the system objected, saying I must give it a name that doesn't begin with the dot. I saved it as RProfile.txt, the opened my Terminal…
David
  • 981
  • 1
  • 15
  • 27
4
votes
2 answers

How can I add a library in Xcode which is in a hidden directory?

I want to add libboost_filesystem.dylib to my Xcode target as a library to link to, but Boost is installed in /opt/local/lib. /opt is hidden and not accessible from the open panel, so I cannot select the dylib: How can I add the library to my…
user142019
4
votes
2 answers

How to filter hidden files after calling MATLAB's dir function

Using MATLAB, I need to extract an array of "valid" files from a directory. By valid, I mean they must not be a directory and they must not be a hidden file. Filtering out directories is easy enough because the structure that dir returns has a…
JnBrymn
  • 24,245
  • 28
  • 105
  • 147
4
votes
1 answer

Allowing to access files in hidden directories on Apache server (especially ".well-known" folder)

I want to create SSL certificate for my domain via the webroot directory ".well-known/acme-challenge" for verification. I'm using shared hosting and I don't have access to apache configuration files, so I can only use .htaccess file. Problem is that…
Jackenmen
  • 193
  • 1
  • 4
  • 11
4
votes
2 answers

How to make Ansible with_fileglob include hidden files?

I'm using the following task in my Ansible script to copy all files from a local data folder to the server: - name: copy basic files to folder copy: src: "{{ item }}" dest: ~/data/ mode: 755 owner: "www-data" group: "www-data" …
kramer65
  • 50,427
  • 120
  • 308
  • 488
4
votes
2 answers

OSError: [Errno 20] Not a directory, .DS_Store

BASE_FOLDER = "/Users/User/Desktop/DATA" BOOK_GROUP_FOLDER = os.path.join(BASE_FOLDER, "book_group") SCREEN_GROUP_FOLDER = os.path.join(BASE_FOLDER, "screen_group") hidden_file = ("/Users/User/Desktop/DATA/book_group/.DS_Store") def…
IuBr
  • 43
  • 1
  • 1
  • 3
4
votes
4 answers

unhide hidden files in unix with sed and mv commands

i wonder if u could help me with fixing bash script which should unhide all hiden files in dir. Where is the problem? param='.' for file in $param*; do mv $file $(echo $file | sed 's/^.\(.*\)/\1/') done exit
Liudis
  • 43
  • 1
  • 5
4
votes
1 answer

How to make files really hidden in a directory?

I downloaded a program yesterday, it is for encryption and security. I won't name it here unless someone asks me to but it has a feature to make files inside a specified folder completely invisible. I have Hidden Files and Folders - Selected and…
Shambhala
  • 1,159
  • 3
  • 13
  • 31
3
votes
3 answers

How to access hidden linux folders in a java file chooser

When you're in a java app and you use it's built-in file chooser, how can i view/access the hidden items in a LINUX directory
alex
  • 227
  • 3
  • 11
3
votes
1 answer

shutil.rmtree: FileNotFoundError: [Errno 2] No such file or directory: '._xxx'

Code and error (Reduced, if you'd like to see the full code, refer to the last section): import shutil import os filteredCleaned = …
underdisplayname
  • 273
  • 3
  • 14
3
votes
0 answers

Filter hidden files in webkitdirectory?

On uploading folder using webkitdirectory in HTML, hidden files are also uploaded. Is there a way to filter the hidden files? Here I have uploaded a folder with one file and four hidden files: How to get only non hidden files on upload using…
3
votes
3 answers

how to find hidden file

i have some files, they are named like this .abc efg.txt .some other name has a dot in front.txt ...... and i want to do something like this for i in `ls -a` ; do echo $i; done; i expected the result should be .abc efg.txt .some other name has a…
jojo
  • 13,583
  • 35
  • 90
  • 123
3
votes
2 answers

Viewing hidden files on Android Studio's Android Device Monitor?

I have created a hidden directory for my app and wish to view it on Android Studio's Android Device Monitor, however, ADM does not show the directory. How can I change ADM's preferences to view that folder?
1 2
3
14 15