![]() |
|
|||
File indexing completed on 2025-08-06 08:21:02
0001 #!/bin/bash 0002 0003 # Define source and destination 0004 hadd_dir="hadd_condor" 0005 dest_dir="out_run" 0006 0007 # Create destination directory if it doesn't exist 0008 mkdir -p "$dest_dir" 0009 0010 # Loop through all OutDir* folders inside hadd_condor 0011 for dir in "$hadd_dir"/OutDir*; do 0012 if [ -d "$dir" ]; then 0013 for file in "$dir"/out_*.root; do 0014 if [ -f "$file" ]; then 0015 echo "Copying $file to $dest_dir/" 0016 cp "$file" "$dest_dir/" 0017 fi 0018 done 0019 fi 0020 done 0021 0022 echo "All out_*.root files have been copied to $dest_dir/" 0023
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |