Questions tagged [directory-listing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
48 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:\...
2
votes
0answers
26 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 (...
0
votes
0answers
13 views

Apache gives 403 when accessing with directory listing enabled

I've tried every single solution I could find on all of the wiki pages, and forum sites, so I'm clearly doing something wrong. I'm trying to make it so /var/www/files is a directory everybody can ...
0
votes
0answers
27 views

How to prevent users from deleting a Directory but having delete permission for its Sub Folders and Files?

I'm working with Windows Server 2012 R2. I need to prevent users from deleting a particular folder. But they should be able to browse inside the folder and create, delete anything there. Anyone, ...
0
votes
1answer
120 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
4answers
133 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
1answer
47 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
1answer
60 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
1answer
173 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
2answers
408 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
1answer
264 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
2
votes
1answer
60 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
0answers
57 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
1answer
3k 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
3answers
380 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
2answers
65 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
2answers
548 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
0answers
30 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
1answer
417 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
1answer
1k 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 ...
3
votes
2answers
3k 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
1answer
212 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
2answers
275 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
1answer
26 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
1answer
191 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
2answers
267 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 ...
0
votes
3answers
827 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
2answers
51 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
0answers
455 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
1answer
357 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
0answers
48 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
1answer
475 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
0answers
495 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-...
0
votes
1answer
470 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
2answers
875 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
1answer
140 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
1answer
119 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
1answer
143 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
1answer
824 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 ...
63
votes
5answers
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
1answer
245 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
1answer
1k 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
1answer
69 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
1answer
38 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
1answer
67 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 ...
1
vote
1answer
255 views

Vim buffer name autocompletion not working after first directory

I have a problem with Vim Autocompletion behavior for buffer names. Target Soft/OS I'm using gVim without plugins on Windows 10 What I would like to do Assuming we have a file tree like : a b > ...
1
vote
1answer
928 views

command line list files in subfolders but not current folder

I have a batch file that gives me a directory listing of all files in current and subfolders. I would like to change this to list all files that are in subfolders but NOT the current folder. Currently ...
0
votes
1answer
1k views

Drag and Drop Items into Subfolders from Desktop Without Opening an Explorer Window?

My inquiry (in my opinion) seems pretty silly but, it's just based on making my "desktop cleaning" a little more convenient. I like using folders to keep my files neat and organized but, I don't ever ...
0
votes
1answer
116 views

Which is the directory in the Raspbian Jessie OS where the Iceweasel (Firefox port) files are kept in?

Which is the directory in the Raspbian Jessie OS where the Iceweasel (Firefox port) files are kept in? I am trying to install Java 8u101 into my Raspberry Pi's Iceweasel but I'm always unsuccessful...
1
vote
1answer
2k views

Getting listing of files in split-volume 7zip archive

I'm using the following command to create a multi-part (each 1G) 7zip archive under Windows 10 (basically a full backup of my documents area): 7z a -r -v1g -bb -y \path\to\zips\xyzzy.7z . This ...