- use mv -f instead of cp + rm ( shorter, cleaner ) - move file creation later rather than creating it and removing it after