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

How many Nodes configuration file you used in your last project?

1 Answers  


What are the primary usages of datastage tool?

0 Answers  


How a server job can be converted to a parallel job?

0 Answers  


What are the partitioning techniques available in link partitioner?

0 Answers  


what is diff b/w datastage 8.1,8.5,8.7?

1 Answers   IBM,


Wat is pre-load in Hashed file

1 Answers   Patni,


i/p o/p1 o/p2 1 1 4 1 1 5 1 1 6 2 2 2 2 2 2 3 3 4 5 6 how to populates i/p rows into o/p1&o/p2 using datastage stages?and also the same scenario using sql?

8 Answers   IBM,


What are datastage sequences?

0 Answers  


How To find the location of APT_confid file

2 Answers   CTS,


how to configure databases through datastage

2 Answers  


i 10 jobs first two jobs are runing in 2nodes,next 2 jobs are running in 4 nodes, next 4 jobs are running in 6 nodes and the remaining jobs are running on 10 nodes. how to change the node configuration?

2 Answers  


1.How to read multiple file from sequential stage. 2.If a file doesn't arrive or doesn't exists in sequential stage how do u handle this. 3.What do you do before taking data from source to staging area. 4. I have a remove duplicate stage and transformer stage.what will u do for optimizeing the performance of the job.

4 Answers   Syntel,


Categories