Bash script - Nested If Statement for If File Doesn't Exist - Stack ...
經安全檢測,此網站為安全網站,請放心前往原始網址!
Bash script - Nested If Statement for If File Doesn't Exist - Stack ...
Your script is mostly correct, you just need to check if the file exists first. Also, it's
not the best practice to use cd in shell scripts and not needed ...