Questions tagged [directory-listing]
The directory-listing tag has no usage guidance.
104
questions
1
vote
2
answers
227
views
Powershell equivalent of "dir /a"?
Running dir /a on a given directory on one of our servers produces a list of unexpected files that look like malware:
C:\Users\<username>dir /a c:\Users\Public\Downloads\
Volume in drive C has ...
0
votes
1
answer
293
views
Cerberus FTP User cannot download file in subfolder
I am using Cerberus FTP 9.0 and have a user trying to download a file called "file.csv" in a subfolder. They're provisioned as a user with permissions and can download files from a subfolder ...
0
votes
1
answer
80
views
How do I get a listview to show up in Windows Explorer on Win 10?
I am trying to get a picture/screencap of all my folders, subfolders, and files in a directtory to paste into a Word file. I can't quite figure out a way to do this in Win10.
I want it to be something ...
0
votes
0
answers
150
views
how to make directory downloadable in IIS
I have 75GB of data on my Windows VPS. I need to download the directory containing 75 GB of data on my local system.
FTP should not work in such a large amount of data.
What I have done is,
I have ...
1
vote
2
answers
38k
views
How to download all files in a webpage's directory/sub-folder all at once?
Say a directory or folder's path on a website is https://superuser.xyz/images/, but you don't know this right away. Ordinarily, webmasters don't make browsing of sub-folders available, i.e. the images ...
0
votes
0
answers
738
views
How to pipe results of a foreach statement to a text file?
How do I pipe the results of the script below into a list.txt?
$folder = 'C:\Test'
$Total = $Files = 0
foreach($File in (Get-ChildItem -Path $Folder -Filter *.pdf)){
$Pages = (pdfinfo $File....
2
votes
0
answers
237
views
What are ".metadata" directories for
I've been asked to take ownership of an old code base. There are a lot of unusual things in the git repo including loads directories called ".metadata". Each of these directories contains a ...
0
votes
2
answers
1k
views
List each subdirectory and the number of files within it using cmd.exe
I have several subdirectories that contain files, and I want to list each subdirectory and beside it the number of files (*.html specifically) within that subdirectory. For example, I am in "C:\...
3
votes
0
answers
43
views
Find duplicate directory trees on a Mac
Sounds dumb, but actually, I'm not looking for single duplicate files (which is easily achieved via either specific programs or via command line tools like diff), but for complete directory trees (...
7
votes
4
answers
12k
views
How to remove Creative Cloud Files shortcut from Windows Explorer (left Navigation Pane) after April 2021 update?
The "Creative Cloud Files" shortcut was a pain to get rid of in the past, but after a recent update in spring 2021, the damn shortcut is back, and none of the old tricks work anymore.
Has ...
2
votes
4
answers
10k
views
Is it possible to get a recursive directory listing with details in Windows?
For example, suppose I want to see the file sizes of all the *.txt files in a tree. Currently, I can do:
dir *.txt /s
But the list is not formatted well and is hard to use.
I would like to know if ...
0
votes
1
answer
181
views
Find gaps in sequentially hex numbered file names in Linux
I have folders containing files with sequentially numbered file names (hexadecimal):
00001a08
00001a09
00001a0a
00001a0b
<---
00001a32
00001a33
Is there a way using linux tools to find gaps in the ...
0
votes
1
answer
2k
views
Using location variables to access subfolders and files
I'm trying to get nginx to add_after_body a file called readme.php at the end of every directory listing in an index.
For every subfolder, another readme.php can exist, which is to be added instead of ...
0
votes
1
answer
450
views
.reg files Current Directory
Is there a way that I could use the Current Directory instead of a specified file with this?
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\LostSagaLA]
"Path"="D:\Fantasy LS&...
1
vote
2
answers
1k
views
PowerShell - Calculate and Output Folder Size 2 Folders Deep
I would like to run a PowerShell script to output the folder size two layers deep.
I can do it manually with this:
function Get-Size
{
param([string]$pth)
"{0:n2}" -f ((gci -path $pth -recurse | ...
1
vote
1
answer
2k
views
Windows command-line to list all folders without current and parent directories?
What's the Windows command-line to list all folders without current and parent directories? Something similar to ls -A in Linux
3
votes
1
answer
629
views
How to list all items in a directory in powershell
How to list all items - both regular and hidden - in powershell using Get-ChildItem?
Just Get-ChildItem doesn't list hidden items. Get-ChildItem -Hidden lists only hidden items.
Something like ls -a ...
0
votes
0
answers
559
views
Directory tree listing under Windows/TotalCommander
Under Linux, and on some ftp servers, there is this culture of using *.lslR files. These are the text output of ls -lR, which lists the content of a directory tree. In Midnight Commander, you could ...
1
vote
1
answer
5k
views
How do I create a file list from a directory with filename, size and time length of a bunch of video files in a text format?
How do I create a file list from a directory with filename, size and time length of a bunch of video files in a text format?
I want this Windows list in a text format:
0
votes
3
answers
1k
views
windows get file list of shares of local network host
The local network contains a few file server that each has multiple shares.
I would like to get a complete recursive directory listing for a given host.
Unfortunately dir /S /B \\servername does not ...
1
vote
2
answers
487
views
How to list all files of a directory along with an index to allow users to choose file by inputting the index number?
I have multiple files in a directory and I am working on a bash script to list down all the files along with an index next to them so that the users can choose which file to select on the basis of the ...
1
vote
2
answers
2k
views
files don't appear when using tree-view listing in the powershell
i have a lot of files in the desktop directory but i dont know why when i use tree command to list all files for me in tree like order it just shows me the folders.
Here is how it does list the ...
0
votes
0
answers
34
views
Linux Commands for Task
I am working on a File server on cent OS but stuck with a simple process, some how I am getting no result maybe I am new Linux that's why can't figure it out. Please Need Help:
Here is what I want to ...
1
vote
1
answer
1k
views
How to easily plan changes to a folder structure?
At first I was going to ask this question:
How to convert a Windows Folder tree into a Word Outline?
But really my question is more general and that is only one way I thought to do it. Let me ...
0
votes
1
answer
2k
views
Ubuntu 18.04: Issue changing the default directories
I am dual booting Ubunto 18.04 and Windows 10 on a 2 disk set up that looks like this:
----Hard Drive A----
Ubuntu 18.04,
Windows OS
----Hard Drive B----
Storage (NTSF)
I have my OS's on one ...
5
votes
2
answers
7k
views
Is a single dot a valid filename in Windows?
A dot (.) can be part of a file or directory name including the first and last position. On UNIX a single dot in a path refers to the current directory and can thus always be resolved to a directory ...
0
votes
0
answers
377
views
"directory name is too long"?
I recently formatted and reinstalled Windows 7 Home Premium SP1.
Now, when I recursively search for a file from the command prompt (eg,dir c:\somefile.* /s) I get a lengthy list of invalid folder ...
0
votes
2
answers
845
views
Check if two paths are the same, even if their strings don't match exactly
I have a script that depends on some environment variables, some of which are paths
The script checks if it's being run in the correct directory by checking $(pwd)/expected-subdir against $...
0
votes
1
answer
35
views
Invisible directory names
When I do ls -l I get the picture below and I have no idea why. I know the names of the directories and I can cd to them no problem but can't see the actual names. How do I fix that?
3
votes
1
answer
315
views
Why the Change of a Directory Name Does Not Show on CMD/Powershell
I changed a directory's name from Documents to Document, however when I viewed the directories on this partition by using "dir" in both CMD and Powershell, I don't see this change at all, this ...
0
votes
2
answers
578
views
Loop through directories in a given path until an existing directory is reached
I have an unknown path given by the user where I would create a file.
Since I don't have write permissions I need to find the first existing dir in the path going from inside to outside and check for ...
1
vote
3
answers
2k
views
What does "read only" and "non executable" means for Folders?
Talking about authorizations, I know what "read only" and "non executable" would mean for a file.
But what do those two mean for a folder? And how can I change those access authorizations?
Somehow ...
0
votes
2
answers
55
views
How do I get to these hidden folders
The other day I was doing a SQL Restore and I noticed some odd folders on my system.
The ones that start with !!!!!
As you can see there are files in these directories. I would like to get to these ...
1
vote
0
answers
587
views
Error when mounting an open directory using rclone mount
I'm trying to mount an open directory (example: http://sv2.mybia2music.com/s2/Music/1391/) on windows 10 using rclone mount. I'm using rclone-v1.42-windows-amd64
It just throws errors and I can't ...
1
vote
1
answer
1k
views
What is the default value for Options in Apache 2.4?
I wonder if the Indexes option is enabled or not. For my website, it seems the directory index is disabled because visiting http://example.com/dir/ returns 403 forbidden. But I do not remember I added ...
0
votes
0
answers
56
views
Why would WinExplorer show inaccurate directory size and # of files?
I'm running Win 10 and recovering from a system crash. I'm copying music directories from my backup external drive. But when I try to confirm that everything has been done correctly, I see ...
0
votes
1
answer
478
views
Files only visible from their directory
I'm running a build command that refers to library files three directories up using the -I option. The path to the directory from which I'm calling GCC is /home/user/a/b/c/d/a1/a2/test while the ...
0
votes
0
answers
672
views
Using xcopy to extract© files from certain subfolders
I have some data that is systematically organised into multiple-level subfolders, and I would like to copy all files that reside under certain subfolders, which I would like to specify using regexp-...
0
votes
1
answer
991
views
How can I cd to a long path in DOS 6.22?
I have a legacy PC which I have installed DOS 6.22 onto. I'm not sure what specific version this is, but it had CD drivers included, so I'm suspecting it wasn't exactly "bare bones".
I created a CD ...
0
votes
2
answers
1k
views
How to recursively find folders on a Linux system, that contains folders only?
I'm trying to work out a command that recursively finds directories that only contain one or more directories on the same level. Preferably with the find command. Like find . -type d.
For example, in ...
0
votes
1
answer
338
views
Previous and next folder using Bash
This is similar to How to list folders using bash commands?. I have a folder structure of the format foo/YYYY/MM/DD/HHMM (at 10 minute intervals). What is the easiest way to get the previous and ...
0
votes
1
answer
314
views
DIR list files with only one extension
The code below will list all files from the selected directory. How to make it list only files with one extension, like pdf?
[HKEY_CLASSES_ROOT\Directory\Shell\4_content-list-pdf\command]
@="cmd /c ...
0
votes
1
answer
149
views
Using WGET with cloud hosted generic FTP URL
I'm trying to use WGET to download a website which is hosted on a Netregistry cloud. WGET fails with
--> LIST -a
150 Here comes the directory listing.
(skipping "LIST")done.
ftp.netregistry.net: ...
2
votes
1
answer
1k
views
Why is sn required by inetOrgPerson?
I'll preface this by saying that I'm fairly new to using LDAP and really have no formal training with it.
Pretty much exactly what the topic title says. Is there any real reason that surname is a ...
62
votes
5
answers
10k
views
Why does `dir *.*` give me all files and folders?
When I run dir *.* it produces unexpected results. Even files and folders without any dot in their names are listed. For example
C:\>dir *.*
Volume in drive C is System
Volume Serial Number is ...
-2
votes
1
answer
325
views
Accurate file-tree for a virtual windows(and linux) system? | Hacking Simulator Game
I am creating a hacking Simulator in Python where the user has to break into PCs(totally unexpected, right?)
I need a minimal file-tree for my virtual Windows(And also Linux) PC.(The tree will only ...
3
votes
1
answer
2k
views
making sense of wget -r output
This is the output of tree command in one directory:
.
|-- asdf.txt
|-- asd.txt
|-- fabc
| |-- fbca
| `-- file1.txt
|-- fldr1
|-- fldr2
| `-- index.html
|-- fldr3
| |-- cap.txt
| `-- f01
`--...
1
vote
1
answer
76
views
Folders Completely Hidden Except via Save As
I'm using an audio program called Supercollider on Windows 10. I have saved some files in a folder called "tunes" from SC via Save As, but Windows Explorer and CMD both seem unable to recognise access ...
0
votes
1
answer
108
views
How can I keep a reference copy of the directory tree of a disconnected external hard drive?
I have about 60 external hard drives, and am looking for a way to document what's on them in a user-friendly way (rather than just outputting the structure in text form).
Dream scenario: I have a ...
0
votes
1
answer
71
views
Structure of directory in linux
On a linux system, when we do the ls command, there's always the . and .. pointers pointing respectively to the current and previous directory. I understand why .. is useful to go back to the previous ...