Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

dir to file txt

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 :: copy file to server 
Shell :: open rdp port windows 10 using command line 
Shell :: bash do-while 
Shell :: commit with git 
Shell :: How to delete files in linxu terminal 
Shell :: create samba user ubuntu 
Shell :: Git in Bash 
Shell :: add shortcut to applications ubuntu 
Shell :: mongo shell change db 
Shell :: removing a file in linux 
Shell :: github change commit date 
Shell :: how to remove apt repository ubuntu 
Shell :: how to remove package files in linux 
Shell :: reset password postgres ubuntu 
Shell :: datadog without agent 
Shell :: install gitlab runner 
Shell :: How to connect to remote computer with public and local ip 
Shell :: centos 6 vm.min_free_kbytes 
Shell :: connect to remote redis over tls 
Shell :: How can i get batch files to run through the new window terminal 
Shell :: bluettoth device not shwoing as output in ubuntu 
Shell :: bash monitoring background jobs 
Shell :: install pandas xlrd 
Shell :: symfony5 bundle shema 
Shell :: login authentication in android using volley github 
Shell :: find directory spend inodes 
Shell :: coder.com docker install 
Shell :: winmerge command line generate report 
Shell :: source vimrc from the web 
Shell :: libthai0:i386 depends on libdatrie1 (= 0.2.0); however: Package libdatrie1:i386 is not configured yet. 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =