hpc_scan_paths.lsf 555 B

1234567891011121314151617181920
  1. isNewPath = true;
  2. for (0; isNewPath; 0) {
  3. isNewPath = false;
  4. paths = splitstring(paths_string,endl);
  5. for(i=1:length(paths)) {
  6. if (paths{i} != ""
  7. and paths{i} != "."
  8. and paths{i} != ".."
  9. # and findstring(paths{i},"result")== -1
  10. ) {
  11. #? "root path to check: "+ paths{i};
  12. cd(paths{i});
  13. files = splitstring(dir,endl);
  14. for(i=1:length(files)) {
  15. path_to_check = files{i};
  16. hpc_try_path;
  17. }
  18. }
  19. }
  20. }