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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Is possible to create skid in dim,fact tables?

2394


i WANTED TO USE THE RANGE LOOKUP SCENARIO IN DATASTAGE 7.5.2 SRVER JOB.i HAVE A DATE FIELD IN SOURCE AND I SHOULD MATCH IT WITH A FIELD IN LOOKUP FILE.BUT,THE FIELDS SHOULD MATCH EVEN THOUGH THERE IS SOME RANGE.CAN SOMEONE TELL ME HOW CAN I DO THAT. THANKS

3526


What are the different types of lookups in datastage?

838


How to reverse the string using unix?

3157


What is use Array size in datastage

1552


Can you explain repository tables in datastage?

1152


What is the difference between passive stage and active stage?

1093


hi iam new to this tooliam cmpltied to know abt datastage so now iam in project tell me whole step by step what iam doing iwnt to go with exp so plz hlp me pals

1680


Name the command line functions to import and export the DS jobs?

920


How many types of stage?

933


What is the difference between an operational datastage and a data warehouse?

873


Can you explain engine tier in information server?

883


how to sort two columns in single job in datastage.

2723


What is apt_config in datastage?

923


What could be a data source system?

764