Staging files for Oracle Apps installation

Posted on April 6, 2008. Filed under: Installation, R12 | Tags: , |

Hi,

Heres a single “for loop” (Unix) to stage the installation files (*.zip) under specific directories without creating the required directories.

$cd <location where .zip files are copied>

for i in ls -l *.zip
do
unzip -od <staging locaion> $i
done

It is always advisable to verify the zip files before extracting. You can use the same “for loop” with different unzip option

for i in ls -l *.zip
do
unzip -t  $i
done

Note: You can type all of the above commands in the shell prompt, no need to write a shell script to run the for loop.

Happy staging !!!

cheers,
OraclePitStop

Advertisements

Make a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Liked it here?
Why not try sites on the blogroll...

%d bloggers like this: