You should not forget to check, if the file creation was successful. If you don't have permission to create the file and you don't check that, your check for existence might lead to a wrong conclusion!
In reply to Re^4: Finding out whether two directories are the same (insert)
by linuxer
in thread Finding out whether two directories are the same
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |