I got it with this one. cp /home/esorq/.templates/NEWFILE %d/ You need to use %d, since you are not copying it to a selected file name, you are copying it to a directory.