On Tue, Jul 13, 1999 at 12:30:47PM -0400, IYAN wrote:
> Priyadi Iman Nurcahyo wrote:
>
> > for A in `find -type f | grep -i "\.(jpg|png)$" ` ; do
> > cp $A /gambar
> > done
>
> Setelah gue eksekusi rupanya di /gambar tidak ada file apa-apa ? tolong
> koreksi lagi mas priyadi, soalnya gue kuper sama script beginian,
perintah find-nya salah... :)
coba diganti jadi
find / -type f
--
Rule #1 in decision making:
If Microsoft tells you that something is bad, then it must be good...
--------------------------------------------------------------------------
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3
Pengelola dapat dihubungi lewat [EMAIL PROTECTED]
Hosted by http://www.Indoglobal.com