Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

dos dir to text file

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 :: dir sort by 
Shell :: install kubernetes ubuntu 20.04 
Shell :: wpa passphrase 
Shell :: vagrant 
Shell :: windows powershell create new file 
Shell :: how to run cmd run administrator using script 
Shell :: touch 
Shell :: check my current branch git 
Shell :: jetbrains always add disable 
Shell :: checkout git specific commit 
Shell :: linux distributions command line 
Shell :: generate ssh key linux 
Shell :: ubuntu terminal search command 
Shell :: permissions in linux 
Shell :: reset git from last commit 
Shell :: turn a folder into a git repo 
Shell :: how to start xfce4 sudo command 
Shell :: Remplace Placeholder with shell command 
Shell :: temeprature ubuntu command line 
Shell :: install Promtail Agent 
Shell :: mac end process shortcut 
Shell :: how to pass multiple hosts to ansible adhoc command? 
Shell :: git debug 
Shell :: broken symlinks were found is this a problem 
Shell :: If you do not have Xcode installed, download and install it from App Store and run it once to complete its setup 
Shell :: permission denied while running startup.sh in linux 
Shell :: dockerd failed to start daemon: failed to get temp dir to generate runtime scripts 
Shell :: mac console dir 
Shell :: github extension for visual studio 2019 vs git scm 
Shell :: awk print first characters of a field 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =