10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi.
I found many scripts in the web of achieving this.
But I like to use this one
find /EDWH-DMT03 -xdev -size +10000 -exec ls -la {} \;|sort -n -k 5 > LARGE.rst
But the problem is, why it still list out files with 89 bytes as the output? Is there anything wrong with the command?
My... (7 Replies)
Discussion started by: aimy
7 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Is there any way to use find command and search only specific subdirectories in a directory.
for example
/home/d1
/home/d2
/home/d3
i want to search in the following directories
/home
/home/d1
/home/d2
i do not want the find command to search the /home/d3 directory. (6 Replies)
Discussion started by: Little
6 Replies
3. Shell Programming and Scripting
he following are the files available in my directory
RSK_123_20141113_031500.txt
RSK_123_20141113_081500.txt
RSK_126_20141113_041500.txt
RSK_126_20141113_081800.txt
RSK_128_20141113_091600.txt
Here, "RSK" is file prefix and 123 is a code name and rest is just timestamp of the file when its... (7 Replies)
Discussion started by: kridhick
7 Replies
4. Shell Programming and Scripting
Hi
I need to copy a huge directory with thousands of files onto another directory but without *.WMV files (and without *.wmv - perhaps we need to use *.).
Pls advise how can I do that.
Thanks (17 Replies)
Discussion started by: reddyr
17 Replies
5. Shell Programming and Scripting
Hi,
I have to find specific files only in the current directory...not in the sub directories.
But when I use Find command ... it searches all the files in the current directory as well as in the subdirectories. I am using AIX-UNIX machine.Please help..
I am using the below command. And i am... (2 Replies)
Discussion started by: aakishore
2 Replies
6. Shell Programming and Scripting
Hi,
Is there a way to find all the files from a specific location and then zip them into a single file, even if they are in multiple directories? (3 Replies)
Discussion started by: rudoraj
3 Replies
7. Shell Programming and Scripting
Hello,
I have several files in a specific directory.
A specific string in one file can occur in another files.
If this string is in other files. Then all the files in which this string occured should be deleted and only 1 file should remain with the string.
Example.
file1
ShortName "Blue... (2 Replies)
Discussion started by: premier_de
2 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I am trying to do the following;
bzcat data.in.bz2 | split -l 1000000 -d
this work great, except that once the files have been split, they are not in the directory I want them to be in. So I then have to move them, at times this can get hairy.
Is there anyway to specify where the... (4 Replies)
Discussion started by: amcrisan
4 Replies
9. Solaris
I need to list all files and subdirectories that contain "oradata".
For example, I have several files in several different directories that contain "oradata". I.e.
/u07/oradata/1.dbf
/u09/unix/whatever/oradata/2.xxx
That is, whatever file on the system that contains a directory called... (7 Replies)
Discussion started by: Sat510
7 Replies
10. Shell Programming and Scripting
i have a directory "ABC" with lots of old files and sub directories in it.
the issue now is i want to delete away files which are older than 15 days in "ABC" without deleting the files in the sub directories and without deleting the sub directory.
i tried using find command but it will drill down... (2 Replies)
Discussion started by: legato
2 Replies