Menü Kapat

HOWTO: Delete all hidden .swp files from terminal

E325: ATTENTION
Found a swap file by the name ".swp"
owned by: subhrcho dated: Wed Dec 26 05:54:45 2012
file name: ~subhrcho/
modified: YES
user name: subhrcho host name: slc04lyo
process ID: 26176
While opening file ".vimrc"
dated: Mon Jan 28 22:45:16 2013
NEWER than swap file!

(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.

(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r "
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".swp"
to avoid this message.

Swap file ".swp" already exists!

find . -type f -name “.*.swp” -exec rm -f {} \;

Bir yanıt yazın

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir