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

Reliably create .DS_Store files

Good afternoon, I was wondering if anyone knew of a failsafe way to prompt the Finder on Mac OSX (10.8, to be precise) to create a .DS_Store file in a directory. I'm aware of what these files are for, and know they are used to save custom view…
FarmerGedden
  • 1,162
  • 10
  • 23
2
votes
4 answers

Windows Show / hide hidden files / folder - at single click - is it possible using batch file - or at single click?

To show/hide hidden files/folders in windows OSes like XP, Vista or Seven, we have to... go to explorer select tools menu folder option view tab select radio button to show/hide hidden files/filers Is there any dos command/batch script to do this?…
Paritosh
  • 11,144
  • 5
  • 56
  • 74
2
votes
1 answer

Dealing with hidden files when making an array of files inside a directory, using Perl

I am using Perl. I am making an array of files inside a directory. Hidden files, ones that begin with a dot, are at the beginning of my array. I want to actually ignore and skip over those, since I do not need them in the array. These are not the…
ES55
  • 490
  • 1
  • 5
  • 14
2
votes
2 answers

How to create a hidden file in any OS using Java

I have this code trying to create and write in my Json File, but how can I do it Hidden in any OS (Windows or Mac) File file = new File(System.getProperty("user.home") + File.separator + "Documents" + File.separator + "targetappConfig.json"); if…
Victor Laerte
  • 6,446
  • 13
  • 53
  • 102
1
vote
3 answers

How to save a downloaded file as Read-only in iOs

In my iPhone app I am downloading some binary files. I want to store these files in a local folder in the device. And also I want to make these files as Read-only/Hidden. Is it possible? So that I can give more security for the files. Is there any…
Mithuzz
  • 1,091
  • 14
  • 43
1
vote
3 answers

Recommended way of writing to a Hidden/ReadOnly File C#

I am trying to write to a file which has the following attributes - Hidden and ReadOnly. My process should be able to write to it but other processes have ReadOnly Access. The procedure that I am following is: Check if file exists Remove the…
user591410
  • 3,051
  • 5
  • 21
  • 30
1
vote
1 answer

How to use "tree" command on powershell to show files as well as directories

I am trying to get full structure of my project in tree format in powershell. When I use the command tree, it only shows directories and subdirectories, but neither files nor hidden folders, such as .git How can I show files as well? Thank you
1
vote
1 answer

Circleci is not copying hidden files from repository while building

I am using Circleci to build and test typescript code. when code is pushed and Circleci starts building in a docker container, I noticed it ignores some hidden files (dot files) in the repository while copying to the container. I ensured that by…
1
vote
1 answer

How to edit hidden files with dart on windows?

Windows 10 Here is my code: import 'dart:io'; void main(List args) { File('C:\\Users\\alexa\\Documents\\test\\my-file.txt').writeAsString("some-text"); // got error if hidden, no error if not hidden } When I run this code on windows and…
Lenny4
  • 1,215
  • 1
  • 14
  • 33
1
vote
0 answers

I want to make sure I have completely uninstalled anaconda

I am a beginner python programmer. I'm working on Monterey macOS. I decided to uninstall anaconda b/c i had installed a few packages into by my base environment and heard that it was best to not do that and instead only install packages into venv.…
emeehan
  • 11
  • 1
1
vote
1 answer

Cannot access hidden folder on android version 11 device in flutter

I am making an app that shows WhatsApp statuses. The WhatsApp status is stored on a hidden file called ".statuses" in the WhatsApp folder. But when I try to get a list of subdirectories and files from the .statuses folder I get an empty string. This…
Junaid Hassan Final
  • 307
  • 1
  • 2
  • 11
1
vote
1 answer

How to rename .env file in Laravel 8

In Laravel 8 the .env file is well protected out of the public folder. Additionally, I've added a rule in nginx to protect hidden files location ~ /\. { deny all; } However, I've seen several requests to the server looking for the .env file in the…
Acronym
  • 23
  • 4
1
vote
0 answers

linux cross compiler not working across debian versions

A cross compiler which ran without issues on Linux 2.6.26-2-686 i686 now doesn't work on Linux 4.19.0-13-amd64 x86_64 The installation directory lists the files and also 'hidden' files starting with…
pecce
  • 11
  • 2
1
vote
1 answer

Hidden file in my training dataset which makes tensorflow return "Unknown image file format. One of JPEG, PNG, GIF, BMP required."

I have tensorflow model and during the first portions of training the first epoch it works until it reaches about the midpoint (735/2201 [=========>....................]) and then it returns the error in the title. First I made a script to remove…
1
vote
3 answers

Find all directories that contain only hidden files and/or hidden directories

Issue I have been struggling with writing a Bash command that is able to recursively search a directory and then return the paths of every sub-directory (up to a certain max-depth) that contains exclusively hidden files and/or hidden…
BitWrecker
  • 174
  • 1
  • 10