E2LS(1) General Commands Manual E2LS(1)NAME
e2ls - list files and directories on an ext2 filesystem
SYNOPSIS
e2ls [options] file_specification
DESCRIPTION
The e2ls command is used to list files and directories on an ext2 filesystem.
Note: Files deleted via e2rm sometimes will show up even without the -D option. It is being investigated.
OPTIONS -a Show hidden directories.
-c Sort by creation time (must include -t when using -l).
-d dir Open the ext2 filesystem specified by dir.
-D Show deleted files bracketed with ><.
-f No sorting of the file list.
-i Show the inodes (very useful for the -l option).
-l Long listing.
-r Reverse the sort order.
-t Sort by time.
SEE ALSO e2tools(7), e2ln(1), e2mv(1), e2mkdir(1), e2cp(1), e2rm(1), e2tail(1).
AUTHOR
The e2tools were written by Keith Sheffield <sheff@pobox.com>.
This manual page was written by Lucas Wall <lwall@debian.org>, for the Debian project (but may be used by others).
March 2, 2005 E2LS(1)
Check Out this Related Man Page
E2CP(1) General Commands Manual E2CP(1)NAME
e2cp - copies files from/to an e2fs filesystem
SYNOPSIS
e2cp [options] files... dest
DESCRIPTION
The e2cp command copies files to/from an e2fs filesystem from/to the machine's filesystem.
OPTIONS
A single `-' (dash) can be used instead of a file name to indicate standard input/output.
-0 Input lines terminated by a null character.
-a Absolute directory names - create directories instead of just copying into the destination. Only valid for copying into an ext2fs
filesystem.
-d dest_dir
Destination of files to be copied. May be in the ext2fs filesystem or the host filesystem.
-G gid Set the default group to gid.
-O uid Set the default file owner to uid.
-p Preserve host file attributes (permissions, times, etc.) when copying files.
-P mode
Set the file permissions (ie 755, 666).
-s src_dir
The source of the files to be copied.
-v Be verbose.
SEE ALSO e2tools(7), e2ln(1), e2ls(1), e2mkdir(1), e2mv(1), e2rm(1), e2tail(1).
AUTHOR
The e2tools were written by Keith Sheffield <sheff@pobox.com>.
This manual page was written by Lucas Wall <lwall@debian.org>, for the Debian project (but may be used by others).
March 2, 2005 E2CP(1)
Hi, is there a way from the command line that I can list all files whose names are say 20 characters or more and direct the results into a file. I'm using RH9.
thankx (2 Replies)
I have a unix directory with 500 plus files . When I do a ls -lR I can see ALL the files here . How can I sort this by the files extensions ?
I can't enter ls -lR *.ext1 *.ext2 *.ext3 etc in case I miss out some files . (2 Replies)
Hi All,
i have one simple question on unix command. I have number files under one directiory and includes sub directories as well. Here, i need to find top 5 files whose sizes are big when compared to other files in ascending or descending order. please note that i need unix command for this... (3 Replies)
hello im new to linux programming trying to list files in a directory i current have the code to list all the files but i do not want the hidden files to show such as a file named .openoffice.org2.0 for example, can anyone help me or point me in the right direction
#include <sys/types.h>... (2 Replies)
Hi,
I have directories with name like:
aaa
bbb
ccc
...
I would like to to see which directories are the largest and then list the files within each. I have success using:
du -ks * | sort -rin | head -n 20
which gives me an output like:
120 bbb
27 ccc
3 aaa
...
I would like... (3 Replies)
Hi,
I would like to know if there's any option to use with the du command so that I can list only the files/directories on the current filesystem... I usually use
du -gs *But I'd like to see only the directories in the filesystem I am on, and not the mount point directory of other fss...
... (6 Replies)
Hi
I am looking for the correct syntax to find all files in the current directory without listing sub-directoris. I was using the following command, but it still returns subdirectoris and files inside them:
$ ls -laR | grep -v ^./
Any idea? Thanks
PS I am in ksh88 (4 Replies)
Hi
I have a jfs2 filesystem named /software in my aix 5.3 box.
Please note that there are a lot of subdirectories under /software?
I need to know the count of how many total files and directories are present under that mount point /software ?
For example if by some commands we find that there... (3 Replies)
Hi,
I am having trouble sorting one file based on another file. I tried the grep -f function and failed. Basically what I have is two files that look like this:
File 1 (the list)
gh
aba
for
hmm
File 2 ( the file that needs to be sorted)
aba 2 4 6 7
for 2 4 7 4
hmm 1 ... (3 Replies)
Hi,
I am having trouble sorting one file based on another file. I tried the grep -f function and failed. Basically what I have is two files that look like this:
File 1 (the list)
gh
aba
for
hmm
File 2 ( the file that needs to be sorted)
aba 2 4 6 7
for 2 4 7 4... (4 Replies)
Hi:
I found some "hidden" directories created by a version control tool that can't be displayed by "ls -al". but user can "cd" into them and see the files inside.
My questions are:
1) what commands can reveal those directories when "ls -al" fails?
2) how do you create such... (2 Replies)
Hello all!
I'm looking to list directories and sub-directories of a path, on this forum I found this command:
find $path -type d -exec ls -ld {} \;
The issue I have is that with a simple ls, the list is listed by name, and using -t I get it by time.
How could I list directories and sub... (5 Replies)
I want to list all directories hidden or not hidden.
ls -ld */ => shows only not hidden directories
so i guess the answer would be to add the a option to show all files
ls -lad */ => not working :confused:
ls -la | grep "^d" => works
But I would like to know why I can't use ls -lad... (4 Replies)
Experts
I have a list of files in the directory
mysample1
mysample2
mysample3
mysample4
mysample5
mysample6
mysample7
mysample8
mysample9
mysample10
mysample11
mysample12
mysample13
mysample14
mysample15 (4 Replies)
On a RHEL 5.5 I have this filesystem:
cat /etc/mtab
/dev/mapper/cpc_uat_app-cpc_uat /cpc_uat ext2 rw 0 0
which is not ful:
df -h
/dev/mapper/cpc_uat_app-cpc_uat
40G 32G 7.1G 82% /cpc_uat
and doesn;t have a huge number of inodes used either:
df -i... (4 Replies)