Sponsored Content
Full Discussion: help - listing files
Special Forums Hardware Filesystems, Disks and Memory help - listing files Post 41295 by cbkihong on Thursday 2nd of October 2003 07:48:16 AM
Old 10-02-2003
Try

ls | grep '.\{20,\}' > somefile
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Recursive directory listing without listing files

Does any one know how to get a recursive directory listing in long format (showing owner, group, permission etc) without listing the files contained in the directories. The following command also shows the files but I only want to see the directories. ls -lrtR * (4 Replies)
Discussion started by: psingh
4 Replies

2. Linux

Listing of files

How can I list all files in a directory and its subdirectories that have been created or changed since the system was booted. I was trying to acomplish this with "ls" and "find" commands but could not get anything usefull. Maybe some one can provide me a hint. Thank you for your time. (1 Reply)
Discussion started by: Vitalka
1 Replies

3. UNIX for Advanced & Expert Users

listing files excluding files from control file

I have a directory named Project.I have a control file which contains valid list of files.I would like list the files from directory Project which contains files other than listed in the control file. Sample control file: TEST SEND SFFFILE CONTL The directory contains followign... (15 Replies)
Discussion started by: ukatru
15 Replies

4. UNIX for Dummies Questions & Answers

Listing files

Hi there! I would like to list all the files from a directory and its subdirectories. For example: DIRECTORY |- SUBDIR1 ||- sub1.txt ||- sub2.txt |- SUBDIR2 ||- sub3.txt |- root1.txt |- root2.txt I would like to create a fulllist.txt file which contains the list of these files (with... (2 Replies)
Discussion started by: bobix
2 Replies

5. UNIX for Dummies Questions & Answers

Listing files

how would i list all files, directories and exectable files in my directory? is there anyway to find out what date a file was created? Thanks!! (2 Replies)
Discussion started by: trob
2 Replies

6. Shell Programming and Scripting

perl script for listing files and mailing the all files

Hi, I am new to perl: I need to write perl script to list all the files present in directory and mail should be come to my inbox with all the files present in that directory. advanced thanks for valuable inputs. Thanks Prakash GR (1 Reply)
Discussion started by: prakash.gr
1 Replies

7. Shell Programming and Scripting

Listing the files

Hi, I have to list the files in a particular folder which are having file names like below: 1000_aa.csv, 1000_ab.csv, 1000_az.csv,1000_ba.csv,1000_bb.csv,1000_ca.csv,1000_cb.csv. How can i get the list? Thanks, Selva (2 Replies)
Discussion started by: bharathappriyan
2 Replies

8. SuSE

Listing files

Hi, This may be silly for some of you guys, but please guide me, I have the followin fies in my directory, root@unix:/onlineredo/XTT77 : ls -l total 4129992 -rw------- 1 XTT77 XTT77 10493952 Jul 28 2010 S0106839.LOG -rw------- 1 XTT77 XTT77 10493952 Jul 28 2010 S0106840.LOG... (3 Replies)
Discussion started by: suren1829
3 Replies

9. Shell Programming and Scripting

listing files

Hi Guys, I need to list out the files which are not ending with particular extension in ksh but the extension can come within the file name. Please help me.. Thanks (2 Replies)
Discussion started by: jesu
2 Replies

10. Shell Programming and Scripting

Listing the file name and no of records in each files for the files created on a specific day

Hi, I want to display the file names and the record count for the files in the 2nd column for the files created today. i have written the below command which is listing the file names. but while piping the above command to the wc -l command its not working for me. ls -l... (5 Replies)
Discussion started by: Showdown
5 Replies
GFRM(1) 																   GFRM(1)

NAME
gfrm - remove Gfarm files, directories, or file replicas SYNOPSIS
gfrm [ -frRnqv ] [ -I file-section ] [ -h filesystem-node ] [ -D domain-name ] [ -H hostfile ] [ -N num-of-replicas ] [ -j num-of-threads ] gfarm-URL ... DESCRIPTION
gfrm removes each specified file. It does not remove directories unless the -r or -R option is specified. '.' or '..' cannot be removed. When the -I option is specified, gfrm removes the specified file section. File section is an architecture name for executable files, or a fragment index for a regular file. With the -h, -D, or -H option, gfrm removes file replicas of each specified file or file section on the specified filesystem node(s). All file replicas of a file cannot be removed, unless the -f option is specified. OPTIONS
-f Even when all file replicas are specified by the -h, -D, or -H option, forcibly deletes all the file replica. In this case, the specified file will be deleted. -j num-of-threads Specifies the number of threads to delete file replicas simultaneously. This option is only available when gfrm is compiled by an OpenMP C compiler. -n Prints file names to be deleted, but does not delete them. -q Does not print any verbose message. -r, -R Removes all entries under the directories specified by the command-line argument recursively. -v Prints verbose messages. -h filesystem-node Specifies a filesystem node from which file replicas will be removed. With the -I option, a file replica of the specified file sec- tion will be removed. -D domain-name Specifies a domain name of filesystem nodes on which file replicas will be removed. With the -I option, a file replica of the spec- ified file section will be removed. -H hostfile Specifies a hostfile that lists filesystem nodes on which file replicas will be removed. With the -I option, a file replica of the specified file section will be removed. if ``-'' is specified, standard input is used to read the host list. -I file-section Specifies the file section to be removed. File section is an architecture name, such as sparc-sun-solaris8, for executable files, and a fragment index for regular files. -N num-of-replicas Specifies the maximum number of file replicas. If files has more number of file replicas than specified, reduce the number of file replicas. -? Displays a list of command options. Gfarm 13 November 2006 GFRM(1)
All times are GMT -4. The time now is 10:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy