I keeps writing this out

if (-e "/dir/path/file"){}else{
#execute
}

To execute a statement when a file doesn't exist.

Someone want to shorten this so I don't have to use an else statement.

Thanks,
Tony

Reply via email to