Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Unix Qn asked in datastage interview:
I have diff type(.txt, .tmp, .bat etc) of file in 4 diff directories, I want move all '.txt' file from 4 directories to other folder.
And need to delete all the files except which are created TODAY?

Answer Posted / ankit gosain

Hi,

try the below commands:

1. rm *.txt /dest/directory
2. find -iname '*.txt' -exec mv \{\} /dest/directory \;

Cheers,
Ankit :)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

8000 jobs r there i given commit, suddenly job will abort? what happens? 2)diff b/t transformer stage & filter stage? 3)how to load the data in the source?

2214


What are the stages in datastage?

1090


What are the components of ascential data stage?

1192


Difference between ‘validated ok’ and ‘compiled’ in data stage?

1290


Name the different sorting methods in datastage.

1060


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

2115


Is it possible to query a hash file?

2018


What is a quality stage in datastage tool?

1084


How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

2453


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

2049


What is the use of hoursfromtime() function in transformer stage in datastage?

1071


Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.

2295


How you Implemented SCD Type 1 & Type 2 in your project?

4138


What are the types of containers in datastage?

1194


disign the complex job in u r project?(they are aksing only complex job design and then data flow...)

2471