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

I HAVE EMP TABLE, 4 COLS R THERE COL1,COL2,COL3,COL4 ID-- 101,102,103,104 SAL-- 1000,4000,2000,5000 DATE-- COLUMN. I WANT TO DISPLAY THE DATA PREVIOUS MONTH HIGEST SAL ?

2 Answers   Wipro,


what is datastage job Monitoring

6 Answers   CTS,


1.What is a delta record? How you will read it? 2.What are the different types of sorting?

0 Answers   EDS,


How to convert RGB Value to Hexadecimal values in datastage?

0 Answers  


can we half project in parallel jobs and half project in server jobs?

4 Answers   Infosys, L&T,






eno ename 1 qaz 1 wsx 1 edc 2 zxc 2 asd 3 qwe 3 wer 3 tru 4 rgj Output: eno ename count 1 qaz,wsx,edc 3 2 zxc,asd 2 3 qwe,wer,tru 3 4 rgj 1 I want the above output to be solved by DataStage as well and I have to write SQL query for the same output.

4 Answers   Wipro,


What are the processing stages?

0 Answers  


What is APT_DUMP_SCORE?

2 Answers   IBM,


How can you find out whether datastage process is running or not in unix?

3 Answers   Accenture,


How can we move a DATASTAGE JOB from Development to Testing environment with the help of a datastage job using unix commands.

5 Answers  


i have a scenario with i/p as ID,salary with values 1,1000 2,2000 and 3,4000 i need an extra column in the o/p named amount with values 2000,4000 and NULL. how can i get it?

2 Answers   L&T,


How to write a expression to display the first letter in Caps in each word using transformer stage ? Please let me know ASAP Thanks in advance...

0 Answers   Alpharithm Technologies,


Categories