Display all files which have size more 3KB in given directory/folder.



Display all files which have size more 3KB in given directory/folder...

Answer / nish

Since it is posted under Datastage; I'm assuming it has something to do with Unix/Linux.

to solve your problem we make use of the 'find' command and its specifications

find /mydir -size +6 -print

1block =512B
3kb =6 Blocks
-size +6 will list files that are greater than 3kb
-print will print them out
/mydir is your folder

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Stage Interview Questions

Hi Gus, Can u pls tell me How can u Call the Shell Scripting/Unix Commands in Job Sequence?

3 Answers   IBM,


data stores in which location while using data set stage as the target?

1 Answers   IBM, TCS,


Describe the main features of datastage?

0 Answers  


Describe the architecture of datastage?

0 Answers  


What is job control?

0 Answers  






if a column contains data like abc,aaa,xyz,pwe,xok,abc,xyz,abc,pwe,abc,pwe,xok,xyz,xxx,abc, roy,pwe,aaa,xxx,xyz,roy,xok.... how to send the unique data to one source and remaining data to another source????

3 Answers  


What are the important features of datastage?

0 Answers  


where we use column generator stage in real time scenario?

5 Answers   TCS,


hi, how would i run job1 then job 3 , then job2 in a sequence of job1 ,job2,job3. Thanks sunitha

6 Answers   CTS,


What is a delta record? How you will read it?

0 Answers   EDS,


Instead of using shared container in a job, I use jobs which perform similar function as Container in the sequence. Then what is the need of Shared Container?

1 Answers   TCS,


How to Convert a string function to date function by using only sequential file stage with out using other stages ?

5 Answers   TCS,


Categories