sync.sh 285 B

1234567891011121314
  1. # !/bin/bash
  2. current_directory=$(pwd)
  3. echo "当前目录:$current_directory"
  4. while IFS= read -r file_path; do
  5. if [ -e "$current_directory/$filename" ]; then
  6. echo "文件存在!"
  7. else
  8. echo "文件不存在!"
  9. fi
  10. done < "cmake-build-debug/deps.txt"