Re: [Linux-programlama] küçük bir betik sorunu

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Serkan Coban (scobanx@yahoo.com)
Date: Mon 04 Jul 2005 - 15:27:31 EEST


Bende gayet guzel bi sekilde calisti. bi hata
goremiyorum betikte...

--- Mustafa Aldemir <m_aldemir@yahoo.com> wrote:

> Arkadaşlar merhaba,
>
> aşağıdaki kodu yazıp bir dosya olarak kaydettim.
> Çalıştırmak istediğimde hata veriyor. Yardım
> edebilir
> misiniz?
>
> # sh /home/musti/betikler/dosya_yedek.sh
> find: paths must precede expression
> Usage: find [-H] [-L] [-P] [path...] [expression]
>
>
> ---------dosya_yedek.sh---------------
> #!/bin/sh
> BACKSDIR="/yedek/hosting"
> DATE=`/bin/date "+%Y%m%d"`
>
> mkdir -p ${BACKSDIR}/${DATE}
> cd /home/
>
> for i in `find /home/ -name *-web -type d`
> do
> tar -cvvf ${BACKSDIR}/${DATE}/${i}.tar ${i}
> done
>
> > _______________________________________________
> Linux-programlama mailing list
> Linux-programlama@liste.linux.org.tr
>
http://liste.linux.org.tr/mailman/listinfo/linux-programlama
>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.