Skip to content
Snippets Groups Projects

Fixing pulling images out of subdirectories for REAL

Merged Charlotte Hausman requested to merge WS-673_fix_single_img_crash_issue into main
1 unresolved thread
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -24,7 +24,7 @@ fetch_foundation(){
../productfetcher{{product_locator}}
echo "Moving images out of subdirectories...."
for dir in *.fits; do mv $dir $dir.l; done;
for dir in *.fits; do mv $dir $dir.1; done;
find . -mindepth 1 -type f -print -exec mv {} . \;
find . -mindepth 1 -type d -empty -delete
Loading