Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

windows list all files in subdirectories

tree /f
Comment

cmd dir all files subfolders

dir /s
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 :: django oauth toolkit 
Shell :: change resolution of a video 
Shell :: javascript implements 
Shell :: vim convert tabs to spaces 
Shell :: grep line after match 
Shell :: cookiecutter 
Shell :: remove dock from ubuntu 
Shell :: how to get process id in linux 
Shell :: terminal run sh file 
Shell :: add text to clipboard wsl 
Shell :: command line of linux os 
Shell :: npm colors 
Shell :: merge master into feauture branch 
Shell :: pull from upstream git 
Shell :: linux ip route add 
Shell :: grep second line 
Shell :: what is bash 
Shell :: vmware shared folder not showing 
Shell :: uname 
Shell :: steps to sync branch to fork master? 
Shell :: get previous git stash 
Shell :: crear una aplicacion con angular cli 
Shell :: github new repository 
Shell :: ubuntu what is my ip address 
Shell :: what is user in linux? 
Shell :: sngrep printed lines correctly 
Shell :: uninstall nodemac 
Shell :: Add base url to react router for gh-pages deployment 
Shell :: zsh: command not found: GDAL_LIBRARY_PATH 
Shell :: pipeline command in linux 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =