10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
How do I find the files greater than or equal to a given size using find command.
find ./ -size +0k --> Lists files greater than 0K
find ./ -size 0k --> Lists the file size equal to 0K.
I have other conditions to check, hence using find command.
Thanks in advance. (4 Replies)
Discussion started by: deepakwins
2. UNIX for Dummies Questions & Answers
i have some files of specific pattern ...i need to look for files which are having size greater than zero and move those files to another directory..
need to find out which is having the size >0 and move those to target directory..... (7 Replies)
Discussion started by: dssyadav
3. UNIX for Dummies Questions & Answers
I know how to use the test command ( ...) to find a single given name file.
However, I have a case in which I have a directory with one file and one sub-directory. I know that the file starts with "fub".
The command doesn't work if i call the file "fub*" as it doesn't understand I meant a... (2 Replies)
Discussion started by: buj
4. Shell Programming and Scripting
I have a file by redirecting some contents in unix shell.
Even when there is no content that is being redirected, the file size still shows greater than zero.
but even if there is no matching pattern the file APPRES has size greater than 0bytes.
awk -f AA.awk $logfile>APPRES... (3 Replies)
Discussion started by: justchill
5. Shell Programming and Scripting
OS:AIX 64 bits using korn shell.
shell script to check file size greater than 50M and send mail alert.
Thanks for your time!
Regards, (3 Replies)
Discussion started by: a1_win
6. Shell Programming and Scripting
Can any tell me how to filter the list of files greater than the size specified by user. The size should be provided by user as an input.
shiva (6 Replies)
Discussion started by: shivu
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
Discussion started by: abhinov
8. Shell Programming and Scripting
Can anyone please give me the grep command to find all the lines in a file
that exceed 80 columns
gubbala (8 Replies)
Discussion started by: mrgubbala
9. UNIX for Dummies Questions & Answers
I have the following problem. I know there is a file somewhere on a UNIX machine that contains a string, but I don't know where.
With the "grep" command, I can look into a file but only if I'm located in the correct directory.
With the "find" command, I can search across directories... (2 Replies)
Discussion started by: scampsd
10. Shell Programming and Scripting
ok I want to know how to touch a file and find out that it is greater than 0 then if it is not I want to fail the job other wise I want to success amnd go on. Can anyone help.
Shannon Kammer (1 Reply)
Discussion started by: skammer1234