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

If seg file having 10 records ex:eid 1 2 " " 10 if oracle database having 100 records ex:eid 1 2 " " 100 how to delete matched records permenently from oracle database using datastage ?

5 Answers   Infotech,


what is the difference between the active datawarehouse and datawarehouse

1 Answers   TCS,


Name the different sorting methods in datastage.

0 Answers  


What are the stages in datastage?

0 Answers  


What are the different common services in datastage?

0 Answers  






If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?

0 Answers  


How a routine is called in datastage job?

0 Answers  


when we will use connected Lookup & Unconnected Lookup

3 Answers   Wipro,


What is a quality stage in datastage tool?

0 Answers  


How do u set a default value to a column if the column value is NULL?

7 Answers   HP,


How to LOG 'unmatched Master' records and 'Reject Updates' in log files using MERGE stage?

1 Answers   TCS,


What are the unit test cases you used in your project?

1 Answers   CSC, HY,


Categories