Skip to content
Snippets Groups Projects
Commit 02353128 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

correcting move images out of subdirs

parent 112a9d23
No related branches found
No related tags found
1 merge request!499Fixing pulling images out of subdirectories for REAL
Pipeline #2865 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment