Posts Tagged With: ls

tree Command

Tagged with: , , , ,

Show files and directories in a tree


tree
No Comments »

Graphical representation of sub-directories

Tagged with: , , , , , ,

This command shows a graphical representation of the current sub-directories.


ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e 's/-/|/'mand

Original Article

No Comments »

Command to View just the Files

Tagged with: , , ,

View just the files of directory


ls -F
No Comments »

Using Range in Commands

Tagged with: , , , , ,

Show files and directory containing numbers


ls *[0-9]*
No Comments »

Linux Command to List all the Files Recursively

Tagged with: , , , , ,

Recursively list all files in the current folder and all the sub folders


ls -R

ls -R1
1 Comment »

Listing all Files Recursively in Windows

Tagged with: , , , , , , ,

Save the list of all files in a folder in windows – recursively.


dir /s /b>FileList.txt

[tags]command, dir, directory, folder, windows, list, ls ,recursive[/tags]

17 Comments »

List All Files in a Folder Recursively

Tagged with: , , , , , , ,

Save the list of all files in a folder – recursively.

find .|sed 's/\.\///;'

Another option is

ls -R -1

Kind of like the DOS command ‘dir /s

[tags]dir,ls,command,linux,folder,list,recursive,directory[/tags]

No Comments »