All Questions
6
questions
1
vote
1
answer
470
views
Powershell shortcut to list all files and folders (including hidden files) and order them by date
I'm basically looking for something like ls -alt, but in Powershell (Windows 11). Currently I'm using
gci -fo | sort LastWriteTime -Descending
but it's a bit of a doozy, and definitely not easy to ...
0
votes
1
answer
3k
views
dir / ls not displaying files outside of root directory in Windows 10
I've been trying to point to files and directories via my command line or powershell in windows, but for whatever reason the dir or ls command will not display files or folders within the directory ...
2
votes
2
answers
300
views
Exclude system entries with "ls" or "find"
Compare Cygwin:
$ ls -1 -N /cygdrive/c
$Recycle.Bin
cygwin64
Documents and Settings
pagefile.sys
PerfLogs
Program Files
Program Files (x86)
ProgramData
Recovery
System Volume Information
Users
...
1
vote
1
answer
935
views
How do I get a list of the fullpaths of every .git subfolder in a directory tree?
I am unable to figure out the right set of commands in a Windows Command prompt FOR /? or bash ls to do this.
The following batch file I wrote demonstrates what I want, but I would like to know if ...
15
votes
6
answers
84k
views
how to list all files and directories in given directory with full path but not recursive?
Somehow like dir /b command but I need also hidden and system files there. Built in dir command doesn't allow to list such 'hidden' files with the rest and I must use /s to have full path in there, ...
5
votes
1
answer
2k
views
Changing the order of columns displayed with `ls`
Is it possible to change the order of displayed columns when running ls -l on *nix (or dir on Windows)?
For example, I'd like to see the date modified, then the name, then other fields (or select ...