Re: Somewhat OT
Re: Somewhat OT
- Subject: Re: Somewhat OT
- From: "Alatorre, Michael" <email@hidden>
- Date: Fri, 5 Nov 2004 09:25:22 -0800
>--begin script
>#!/bin/bashmovedir=/path/to/target_folder/cd /path/to/source_folder/find .
>-depth -type f -name '*' \! -mtime -180 -exec mv {} $movedir \;
>--end script
Since I pasted this from the Terminal to a Mail message, the line breaks
didn't translate well in my initial response. Here's what I intended:
--begin script
#!/bin/bash
movedir=/path/to/target_folder/
cd /path/to/source_folder/
find .-depth -type f -name '*' \! -mtime -180 -exec mv {} $movedir \;
--end script
Sorry about that.
Michael Alatorre (mailto:email@hidden)
EIS Liaison Analyst
Cedars-Sinai Health System (http://www.cedars-sinai.edu/)
Medical Affairs: 310.423.6237 310.423.0448 (fax)
"If at first you don't succeed, transform your data set!" -- Brook's Law
Important Warning: This message is intended for the use of the person or
entity to which it is addressed and may contain information that is
privileged and confidential, the disclosure of which is governed by
applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this information is STRICTLY PROHIBITED.
If you have received this message in error, please notify us immediately by
calling (310) 423-6428 -- and destroy the related message. Thank you for
your cooperation.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden