Before deleting older logs from octobre 4th i need to identify which files i have to remove, for instance today is octobre 8ht, i need to remove files from October 4th
Because there are many files i can not list because error args too long, so
Thos is the command:
output:
above just list files from september 25th, but files from octuber 4rth really exists when i use this command:
how to get around this to list excactly logs from October 4th ?
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)
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)
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)
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)
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)
list db directory |grep alias |awk '{print "connect to ",$4}'
In a shell script the below line should display output as below
connect to <DATABASENAME>
but its throwing error like
Syntax Error The source line is 1.
The error context is
{print connect to,... (8 Replies)
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)
Good night, i need your help please
Because there are about 10000 files from October 6th, i need to to compress but i use this command and it does not do anything, in the prompt has no respones and i have to press CRTL+C to goback to the shell
for file in $(ls -l | grep "Impres" | grep "Oct ... (4 Replies)