Questions tagged [directory-listing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
325 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 ...
kindzmarauli's user avatar
0 votes
1 answer
339 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 ...
Zachary McArthur's user avatar
0 votes
1 answer
99 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 ...
cdub's user avatar
  • 247
0 votes
0 answers
187 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 ...
Vishal's user avatar
  • 1
1 vote
2 answers
47k 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 ...
user610620's user avatar
0 votes
0 answers
857 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....
Carlos Osorio Avaria's user avatar
2 votes
0 answers
267 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 ...
Stormcloud's user avatar
0 votes
2 answers
2k 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:\...
JAT86's user avatar
  • 211
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 (...
Axel's user avatar
  • 131
9 votes
4 answers
19k 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 ...
Paul G's user avatar
  • 91
2 votes
4 answers
12k 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 ...
pbarney's user avatar
  • 717
0 votes
1 answer
205 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 ...
MrSnrub's user avatar
  • 127
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 ...
user avatar
0 votes
1 answer
491 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&...
Rodney Hernandez's user avatar
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 | ...
HTWingNut's user avatar
  • 499
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
kefs's user avatar
  • 11
3 votes
1 answer
1k 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 ...
czerny's user avatar
  • 596
0 votes
0 answers
584 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 ...
Tomas's user avatar
  • 7,399
1 vote
1 answer
6k 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:
user2163020's user avatar
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 ...
vlad_tepesch's user avatar
1 vote
2 answers
750 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 ...
loadbox's user avatar
  • 637
1 vote
2 answers
3k 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 ...
moh80s's user avatar
  • 135
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 ...
user avatar
1 vote
1 answer
2k 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 ...
yosh m's user avatar
  • 2,266
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 ...
JeremiahDuane's user avatar
5 votes
2 answers
8k 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 ...
Kalle Richter's user avatar
0 votes
0 answers
409 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 ...
ashleedawg's user avatar
0 votes
2 answers
937 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 $...
Brydon Gibson's user avatar
0 votes
1 answer
39 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?
Sreten Jocić's user avatar
3 votes
1 answer
361 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 ...
Donbe_280385's user avatar
0 votes
2 answers
712 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 ...
Jocky Doe's user avatar
  • 101
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 ...
KansaiRobot's user avatar
0 votes
2 answers
56 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 ...
Mike's user avatar
  • 139
1 vote
0 answers
624 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 ...
Taylor Swift's user avatar
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 ...
peter's user avatar
  • 393
0 votes
0 answers
57 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 ...
rjnagle's user avatar
  • 294
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 ...
Danny's user avatar
  • 301
0 votes
0 answers
716 views

Using xcopy to extract&copy 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-...
z8080's user avatar
  • 383
0 votes
1 answer
1k 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 ...
Bartek Banachewicz's user avatar
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 ...
Bob Ortiz's user avatar
  • 119
0 votes
1 answer
357 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 ...
Miles's user avatar
  • 1
0 votes
1 answer
360 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 ...
Rayearth's user avatar
  • 355
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: ...
Roger Lainson's user avatar
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 ...
mywarthog's user avatar
62 votes
5 answers
11k 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 ...
phuclv's user avatar
  • 27.7k
-2 votes
1 answer
342 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 ...
Kieee's user avatar
  • 1
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 `--...
deostroll's user avatar
  • 1,805
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 ...
Robin Andrews's user avatar
0 votes
1 answer
164 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 ...
nhe's user avatar
  • 3
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 ...
jaja360's user avatar