From 1e532e26cb164aba478840773ca0b68ebb92a148 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Tue, 28 Jul 2009 23:24:11 +0000 Subject: [PATCH] Remove possible bad system admin typos (#2827153). git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13794 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- doc/INSTALL | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/INSTALL b/doc/INSTALL index d6188376..e21728ee 100644 --- a/doc/INSTALL +++ b/doc/INSTALL @@ -148,8 +148,7 @@ b. Setting up directories deletes everything in the attachment directory. Something similar to the following will be good enough: - $ cd /var/local/squirrelmail/attach - $ rm -f * + $ cd /var/local/squirrelmail/attach && rm -f * However, this will delete attachments that are currently in use by people sending email when the cron job runs. You can either (1) make sure that @@ -162,7 +161,7 @@ b. Setting up directories attachment directory is the same as your data directory) might look like this: - $ rm `find /var/local/squirrelmail/attach -atime +2 | grep -v "\." | grep -v _` + $ find /var/local/squirrelmail/attach -type f -atime +2 -exec rm {} \; Remember to be careful with whatever method you do use, and to test out the command before it potentially wipes out everyone's preferences. -- 2.25.1