-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcp_local_to_diff_folder.sh
executable file
·22 lines (19 loc) · 1.1 KB
/
cp_local_to_diff_folder.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
if [ "$#" -ne 2 ]; then
echo "nargs not valid. Call ./cp_local_to_diff_folder.sh source destination"
exit
fi
src_folder=${1%/}
dest_folder=${2%/}
if [ -d "$src_folder/isaac_internals" ]
then
src_folder="$src_folder/isaac_internals"
elif [ -d "$dest_folder/isaac_internals" ]
then
dest_folder="$dest_folder/isaac_internals"
fi
cp $src_folder/exts/omni.isaac.synthetic_recorder/omni/isaac/synthetic_recorder/extension_custom.py $dest_folder/exts/omni.isaac.synthetic_recorder/omni/isaac/synthetic_recorder/extension_custom.py
cp $src_folder/exts/omni.isaac.synthetic_utils/omni/isaac/synthetic_utils/writers/numpy.py $dest_folder/exts/omni.isaac.synthetic_utils/omni/isaac/synthetic_utils/writers/numpy.py
cp $src_folder/exts/omni.isaac.synthetic_utils/omni/isaac/synthetic_utils/syntheticdata.py $dest_folder/exts/omni.isaac.synthetic_utils/omni/isaac/synthetic_utils/syntheticdata.py
cp $src_folder/exts/omni.isaac.shapenet/omni/isaac/shapenet/shape.py $dest_folder/exts/omni.isaac.shapenet/omni/isaac/shapenet/shape.py
cp $src_folder/apps/* $dest_folder/apps
cp $src_folder/setup_python_env.sh $dest_folder