Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

windows list all files in subdirectories

tree /f
Comment

dir command list all files and subdirectories

dir *.txt *.doc		# filter by extension (both doc and txt)
dir	/a:-d			# files only (no subfolders)
dir /s				# current directory and subfolders content
dir /s /a:-d		# files only (including subfolders)
dir > myfile.txt	# stored in myfile.txt (dir /s > myfile.txt with subfolders)
dir /o:[sortorder] 	# example:  dir /o:-s    (sort by decreasing size)
  N : By name (alphabetic).
  S : By size (smallest first).
  E : By extension (alphabetic).
  D : By date/time (oldest first).
  - : Prefix to reverse order.
Comment

PREVIOUS NEXT
Code Example
Shell :: install wordpress ubuntu 
Shell :: android studio tortoise git 
Shell :: linux how to write to file 
Shell :: how to setup .env file for docker 
Shell :: install neovim 7 in ubuntu 
Shell :: cronjob in termux 
Shell :: how to use brew to install ganache 
Shell :: mover logs unraid 
Shell :: ubuntu ram check ssh 
Shell :: docker set container name 
Shell :: How to use my windows file through bash 
Shell :: online linux c compiler 
Shell :: better wget 
Shell :: pdf-tools debian 
Shell :: gitlab login on terminal 
Shell :: powershell open current path in explorer 
Shell :: create service without spec 
Shell :: how to exit root user in linux 
Shell :: for while bash 
Shell :: execution policy powershell single script 
Shell :: download sublime merge in linux 
Shell :: alertmanager reload config 
Shell :: git show signed commit 
Shell :: httrack 
Shell :: how to upgrade package yarn global 
Shell :: ls order by filename length 
Shell :: ssh passphrase stop prompting 
Shell :: Failed to mount cgroup at /sys/fs/cgroup/systemd: Operation not permitted 
Shell :: du linux 
Shell :: open cmd in current directory 
ADD CONTENT
Topic
Content
Source link
Name
7+5 =