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

What is a datastage job?

0 Answers  


what is main difference between change capture and change apply stages

4 Answers   IBM,


Hi , Can anyone give few examples of scenarios and there corresponding design in datastage..i am new to this tool...confused in design while my manager asking to design the job.. Please post the URL if there..so i can go through it.. Thanks in advance...

0 Answers   UHG,


Nls stands for what in datastage?

0 Answers  


1.How do u handle NULL in sequential stage. 2.Difference between switch stage and filter stage.

4 Answers  






What are the types of jobs we have in datastage?

0 Answers  


how many datamarts we will use in real time project and when will use the datamart?pls send the replay early

2 Answers   Tech Mahindra,


How do you import and export the datastage jobs?

0 Answers  


What is apt_config in datastage?

0 Answers  


What is RCP

5 Answers   CGI, CTS,


source file is having 5 records while moving into target it want to be 10 records

4 Answers   IBM,


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

0 Answers  


Categories