Horje
dir list all files in subdirectories Code Example
get list of all files in folder and subfolders python
for path, subdirs, files in os.walk(root):
    for name in files:
        print os.path.join(path, name)
dir list all files in 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.
bash list all files in directory and subdirectories
# Bash-specific

# syntax 
ls -R <file-or-directory-to-find>

# example
ls -R *hotographi*
list all files in a directory and subdirectory linux
find . -type f -follow -print




Shell

Related
raspberrypi open port Code Example raspberrypi open port Code Example
get podman ubuntu Code Example get podman ubuntu Code Example
how to get token of a raw github file Code Example how to get token of a raw github file Code Example
git ignore after commit Code Example git ignore after commit Code Example
remove directory from linux Code Example remove directory from linux Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15