Skip to content

Commit

Permalink
The mv messages fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
myaaghubi committed May 13, 2023
1 parent cb3c534 commit b227792
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions base/hello_world.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ url_file="output/urls.log"
cd ..

if [ -f "$results_file" ]; then
echo "moving 1"
echo "moving $results_file to $results_file.old"
mv "$results_file" "$results_file.old"
fi

if [ -f "$check_file" ]; then
echo "moving 2"
echo "moving $check_file to $check_file.old"
mv "$check_file" "$check_file.old"
fi

if [ -f "$error_file" ]; then
echo "moving 3"
echo "moving $error_file to $error_file.old"
mv "$error_file" "$error_file.old"
fi

if [ -f "$url_file" ]; then
echo "moving 4"
echo "moving $url_file to $url_file.old"
mv "$url_file" "$url_file.old"
fi

Expand Down

0 comments on commit b227792

Please sign in to comment.