[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
delete-file using wildcard
From: |
ishi soichi |
Subject: |
delete-file using wildcard |
Date: |
Sat, 29 Oct 2011 16:54:15 +0900 |
I have a question about Emacs Lisp, which I believe is simple enough for most of you.
I would like to delete files in a directory.
When doing so with Linux command, we usually do,
> rm *
at that directory.
the wildcard command does not seem work similarly in Emacs Lisp.
(delete-file (subseq (file-expand-wildcards "~/Desktop/*") -1))
doesn't work.
Could anyone help me out?
soichi
- delete-file using wildcard,
ishi soichi <=