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
8
votes
1 answer

Why does Files.isHidden(Path) return false for directories on Windows?

From the documentation of Files.isHidden(Path) (emphasis mine): Tells whether or not a file is considered hidden. The exact definition of hidden is platform or provider dependent. On UNIX for example a file is considered to be hidden if its name…
Slaw
  • 37,820
  • 8
  • 53
  • 80
8
votes
2 answers

How do I ignore hidden files (and files in hidden directories) with Boost Filesystem?

I am iterating through all files in a directory recursively using the following: try { for ( bf::recursive_directory_iterator end, dir("./"); dir != end; ++dir ) { const bf::path &p = dir->path(); …
Soverman
  • 1,135
  • 1
  • 9
  • 16
7
votes
1 answer

How can one get github pages to serve dot files like RFC5785's /.well-known/?

I've got a documentation website populated from the Github master branch for my documentation project. I'd like https://mydomain/.well-known/security.txt to serve the file under tree/master/.well-known/security.txt per securitytxt.org which…
Mike Samuel
  • 118,113
  • 30
  • 216
  • 245
7
votes
4 answers

How to create a hidden file in Windows/Mac/Linux?

I build an console application, need create some hidden files. As well I know filename start with dot will hidden in Linux and mac, but windows? Set file attributes? Is there a way to create hidden files and directories in both Windows / Linux /…
steve
  • 1,358
  • 5
  • 16
  • 26
7
votes
2 answers

Move All Dotfiles Out of Root Directory

I'm am running macOS Sierra, and am in the process of moving all dotfiles into one directory. I have successfully exported many environment variables for various installations (vagrant, composer, oh-my-zsh etc) that allow me to install to a…
7
votes
3 answers

How to find hidden files inside image files (Jpg/Gif/Png)

I came across a link that shows how to hide number of files inside an image file: http://lifehacker.com/282119/hide-files-inside-of-jpeg-images more discussion on detection here:…
Jayson
  • 167
  • 1
  • 3
  • 7
6
votes
0 answers

How to re-configure spark /hadoop to read files starting with an "_" (underscore)?

I know that files starting with "_" and "." are hidden files. And the hiddenFileFilter will be always applied. It is added inside method org.apache.hadoop.mapred.FileInputFormat.listStatus From research, I understood that we can use…
qubiter
  • 235
  • 1
  • 5
  • 19
6
votes
6 answers

Appengine - Deployment of hidden folder

To verify a SSL certificate, I need to upload a hidden folder ("/.well-known" containing some files to my application. I am deploying java application with eclipse, but these files do not receive at the application on appengine. I guess they are…
jan
  • 3,923
  • 9
  • 38
  • 78
6
votes
1 answer

Autocomplete hidden files in vim

In vim, when I use something like :e to open files, it doesn't autocomplete files with the hidden prefix .. For example, when trying to edit a .gitignore file, I have to type out the whole name and can't just go :e .giti. If I just type :e…
Sunjay Varma
  • 5,007
  • 6
  • 34
  • 51
6
votes
1 answer

Allow access to a hidden directory (.) in Apache

I need to put something in a directory on my web server that starts with ., i.e. the path would be my.domain/.something/somefile. However, it seems that my Apache configuration blocks all access to hidden directories. How do I change the config so…
Echows
  • 317
  • 2
  • 5
  • 14
6
votes
1 answer

How do I toggle show/hide of hidden file in NetBeans 7.4?

Well, that is basically it: How do I toggle show/hide of hidden file in NetBeans 7.4? Every time I try to open a file in NetBeans 7.4 it shows all my hidden file and that is very annoying. I Googled it but could not find an answer until now. Thanks…
Jeff
  • 953
  • 2
  • 11
  • 21
6
votes
1 answer

What are these hidden files in my home directory?

A friend of mine is showing me how to use the shell (on my mac) and I used ls -a to look at all of the files in my home directory and there are a few that I'm wondering if they're garbage. The ones that seem non-native to the computer (I'm running…
singmotor
  • 3,930
  • 12
  • 45
  • 79
5
votes
3 answers

Hide Vim backups (*~) in Windows Explorer

On Windows, I normally work with Total Commander, which can easily be configured to ignore these *.*~ and *~ completely. But occasionally when I switch to Windows Explorer, I get little bit confused with all that "unknown" files/. Can I set up Vim…
Alois Mahdal
  • 10,763
  • 7
  • 51
  • 69
5
votes
1 answer

How to create a hidden folder i.e .MyFolder [(dot)MyFolder] in DCIM directory (Scoped Storage) Android Q

I want to create a hidden folder i.e .MyFolder [(dot)MyFolder] in DCIM directory. Here is my code:- final String relativeLocation = Environment.DIRECTORY_DCIM+File.separator+".MyFolder/images"; ContentValues contentValues = new…
Parmu
  • 51
  • 2
5
votes
3 answers

Adding a Homebrew-installed Qt to Qt Creator on a Mac

I installed Qt5 and Qt Creator via homebrew. Since they were installed independently of each other, Qt wasn't automatically added to the list of known Qt installations in Qt Creator. I thought adding an installation would be simple, but... Since…
sesodesa
  • 1,473
  • 2
  • 15
  • 24
1
2
3
14 15