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
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?
What are the stages in datastage?
What are the components of ascential data stage?
Difference between ‘validated ok’ and ‘compiled’ in data stage?
Name the different sorting methods in datastage.
What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?
Is it possible to query a hash file?
What is a quality stage in datastage tool?
How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?
If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?
What is the use of hoursfromtime() function in transformer stage in datastage?
Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.
How you Implemented SCD Type 1 & Type 2 in your project?
What are the types of containers in datastage?
disign the complex job in u r project?(they are aksing only complex job design and then data flow...)