Questions tagged [directory-listing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

How to exclude the previous directory row in current directory list - Abyss Web Server [closed]

I'm using Abyss Web Server X1 and this is how it lists directories: ../ file1.mp4 file2.docx file3.jpg I want to be able to prevent the server from listing ../, which takes you to the previous ...
0
votes
1answer
27 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
61 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
109 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
53 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
32 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
713 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
154 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
62 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 ...
0
votes
0answers
46 views

%SystemRoot%\System32 vs Windows\System32 audit

I am trying to audit a Windows 2016 server and is facing some difficulties locating this specific directory %SystemRoot%\System32\Winevt\Logs\Security.evtx However what I have is the following ...
1
vote
2answers
246 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
8 views

findstr skipping some files on Windows 10

For some reason, when I run the following command on Windows 10 some of the expected *.cpp files are missing from the output: findstr -siprm i *.cpp Removing the -s option or choosing to search all ...
0
votes
0answers
23 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
70 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
745 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 ...
1
vote
2answers
1k 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
167 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
120 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
25 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
166 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
252 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
450 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
47 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
394 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 ...
0
votes
1answer
166 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
419 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
248 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
741 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
109 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
86 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
137 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
675 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
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
216 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 ...
1
vote
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
63 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
37 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
66 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
235 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
814 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
956 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
108 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...
0
votes
1answer
1k 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 ...
1
vote
1answer
37 views

Ubuntu home folder larger than sum of user folders

I'm running Ubuntu 14.04. I don't understand this: >> cd /home >> sudo du -shc * | sort -hr 13G total 13G myuser >> ls -a . .. myuser >> cd myuser >> sudo du -shc * |...
1
vote
1answer
541 views

How to index ftp server on linux (preferably using gui)?

Basically I'm using FileZilla right now but wouldn't mind to use any other gui. What I want is to index all directories and files in an ftp server so I can review them later (without the need of any ...
2
votes
2answers
92 views

Get first two strings of each filename in a directory as a txt file

I need to clean up strings like this (where I read in a group of image names), where I only want the first two strings (currently I'm using, in Windows 7 cmd line - dir /a/b/p > textfile.txt): Acaena ...
-2
votes
1answer
16k views

Create folders based on cell values in Excel + create hyperlink

I have the following cell values (Column FOLDERNAME) for which I'd like to automatically create a folder in my current spreadsheet active directory. How to do that, this is my first question? Inside ...
6
votes
2answers
6k views

List Files in a Subdirectory and get Relative Paths only with Windows Command Line

I want to use the Windows command line to list files with path. For example: ~\folder1 \1.jpg \2.jpg ~\folder2 \01.jpg \02.jpg I want the output to be similar to the relative paths rather ...