File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
operations/_scripts/generate Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,10 @@ function helm_move_content_prepend() {
174174 source_folder=" $1 "
175175 destination_folder=" $2 "
176176 number=" $3 "
177+
178+ echo " tree source_folder ($source_folder )"
179+ tree " $source_folder "
180+
177181 find " $source_folder " -maxdepth 1 -type d -not -name " ." -path " $source_folder /*" | while read chart_folder; do
178182 # Move files from source folder to destination folder
179183 chart_name=$( basename " $chart_folder " )
@@ -201,8 +205,8 @@ function helm_move_content_prepend() {
201205 done
202206 # Move remaining folders (if they exist) and exclude the . folder
203207 find " $chart_folder " -maxdepth 1 -type d -not -name " ." -path " $chart_folder /*" | while read folder; do
204- echo " mv $folder $destination_folder /$chart_name /. "
205- mv " $folder " " $destination_folder /$chart_name /. "
208+ echo " rsync -av $folder $destination_folder /$chart_name /"
209+ rsync -av " $folder " " $destination_folder /$chart_name /"
206210 done
207211 echo " Printing chart result"
208212 tree " $destination_folder /$chart_name "
You can’t perform that action at this time.
0 commit comments