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
1
vote
0 answers

Octave finding files which supposedly are not there

First of all, I want to notice that this may not be an Octave question itself (I really cannot tell), hopefully this will be clear by the end of the question. I am running some Octave code to get a list of all files under a folder. The following…
1
vote
1 answer

Exclude hidden files in Python

Well, there's a thing I have to do: I have to count files with or without hidden files, with or without recursion, with certain extension or without (it's up to a user)(CLI). The problem is with hidden files. My method: if namespace.recursive ==…
Elizabeth Grant
  • 149
  • 1
  • 1
  • 12
1
vote
0 answers

Node.js copy hidden folder recursively while preserving hidden status

I have tried several NPM packages, like, const ncp = require("ncp").ncp await ncp(source, destination) and, const fs = require("fs-extra") fs.copySync(source, destination) Both successfully copy a directory but does not preserve "hidden". For…
adelriosantiago
  • 7,762
  • 7
  • 38
  • 71
1
vote
4 answers

What is the terminal command to view hidden folders in a git repo on VSCode?

I am attempting to view my .git directory on VSCode by entering the command to show hidden files. I understand that on a Mac, this command is: la I've read that on Windows, the equivalent command is: ls -la However, after entering this to the…
1
vote
2 answers

How do I make ls honour .hidden files?

The .hidden file is quite convenient to hide directories, what applications use and generated themselves. How do I treat items listed in the .hidden file hidden, while using ls?
u15p7fgy863eiq5
  • 205
  • 2
  • 5
1
vote
0 answers

can't see hidden folder in jupyter notebook tree

when I launch my jupyter notebook using anaconda, I can't see none of my hidder folder (folders starting with a "." ex : .myfolder) is it normal ? and is there a way to be able to access the notebooks within a hidden folder ?
OUMOUSS_ELMEHDI
  • 499
  • 5
  • 16
1
vote
2 answers

avoid git adding dotfiles, hidden file and tempfiles

I'm new to Git and I use this command before committing: git add . and it adds some files I don't want to be tracked like: temp files .tmp_basictest-barchart.html.84279~ .tmp_basictest-demo.html.84399~ and hidden files: .project How to avoid…
BiAiB
  • 12,932
  • 10
  • 43
  • 63
1
vote
2 answers

How to easily access hidden environment in package2 from package1?

I'm trying to generate latitude and longitude in R using the localgeo package from function1 in my own package, however, I can't figure out how to do it without explicitly loading the package. How can I enable a function within package1 easy access…
nko_jd
  • 43
  • 4
1
vote
1 answer

"rm: "." and ".." may not be removed" message in mac mojave

In my mac Mojave machine, when I tried to delete a file, it shows the error The directory is not empty. But when I check, there were no files in that directory. When I did an ls -la, it shows total 0 drwxrwxrwx 330 root wheel 10560 Nov 23…
Arun
  • 3,640
  • 7
  • 44
  • 87
1
vote
1 answer

Hide files in developer tools?

So, I want to apologize ahead of time but I've been googling and stack overflowing for an answer to this question and I just can't find a satisfactory one. I know that Facebook uses React and, although I don't know what software architecture they…
Joshua Wood
  • 435
  • 5
  • 18
1
vote
4 answers

How do I exclude hidden folders and files from readdir?

Is it possible to exclude hidden files and folders from the readdir() function? I have a directory where there are many folders and some hidden folders. I want to read all folders except the hidden ones. Thanks for any help. Kcssm
kcssm
  • 1,727
  • 3
  • 16
  • 19
1
vote
1 answer

How to get links from website, not seen in view source

I am still beginner, I searched in Google but I didnt found what I want, I have a website http://www.example.com/index.php On the main page, there is selectio form: e.g. one selects first country in first field, the the city in the second field then…
1
vote
0 answers

Why does setting the "hidden file" attribute on a file make it read only for Python (3.5) on Windows 7

I've noticed that when I set the "hidden file" file attribute to true for a text file such as test.json, then when I open the file in python 3.5 it returns the following error: >>> h = open('test.json','w') Traceback (most recent call last): File…
Eradicatore
  • 1,501
  • 2
  • 20
  • 38
1
vote
1 answer

Create an hidden file with a .bat file

How can I create a hidden .vbs, .bat or different format file from a .bat file? I know how to create a file but I have no idea how I can make it hidden. Is it possible?
Pietro122
  • 27
  • 4
1
vote
1 answer

Hidden file in ruby

Can we create a hidden file using ruby?
Anubhaw
  • 5,978
  • 1
  • 29
  • 38