![]() Then find evaluates the next -exec expression, which prints the warning message. But if [ returned false, the file is still there. If [ returned false, then the file is gone, so it was moved, so there's no need to do anything. (Many commands' exit statuses are best interpreted as signifying success or failure, but ['s exist status is usually best interpreted as true or false.) ![]() you can run: find srcdir -type f -newermt ! -newermt -exec mv -i ) exists (and is a regular file), and returns either true/success or false/failure. last modified in (for example) September 2014. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |