MACSCRPT Archives

March 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Philip Aker <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 22 Mar 2006 07:10:49 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
On 2006-03-22, at 01:24:16, Nobumi Iyanaga wrote:

>> You can delete those .DS_Store files first with the 'find' command.

> Could you please tell me how to do this?

Hi Nobumi,

A basic usage is: find path type pattern command


So to see what we are about to delete:

find ~/Desktop/folder -name .DS_Store -print


And to delete them:

find ~/Desktop/folder -name .DS_Store -delete


> Can I delete .DS_Store files in multiple nested folders...?

Yes!


Philip Aker
philip_aker->mac.dot.com

ATOM RSS1 RSS2