Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (17 sloc) 668 Bytes


This script is an asmcmd helper for recursively listing and copying files.


Shell environment set for ASM Oracle Home and asmcmd command available. This script makes use of asmcmd utility. This is usually accomplished by logging into the account that owns the ASM/GI binaries and running . oraenv


  • List all files from root of ASM:
  • List all files in +DATAC1/MYDB directory and below
python +DATAC1/MYDB
  • Create commands to make regular filesystem directories and generate asmcmd cp commands to copy files to regular filesystem
python +DATAC1/MYDB /u01/oradata