[linux-baslangic] Re: cp ile aynı dizine kopyalamak

---------

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

From: SerbülentÜNSAL (ozgurruh_s@yahoo.com)
Date: Tue 13 Jul 2004 - 15:02:24 EEST


Malesef çalıştıramadım. Bu
işi direk " cp " komutuyla yapmanın bir yolu
yok mudur acaba ?

--- Volkan YAZICI <yazicivo@itu.edu.tr> wrote: >
merhaba,
> denenmemis qucik and dirty bir cozum:
>
> for dir in `find /home/*/public_html/ -maxdepth 0
> -type d`; do
> user="echo $dir | awk -F '/' '{print $3}'"
> cp -rv $dir/* /yedek/$user/
> done
>
> iyi calismalar
>
>
> On Tue, Jul 13, 2004 at 12:43:05PM +0100,
> =?iso-8859-1?q?SerbülentÜNS
> AL?= wrote:
> > Merhaba,
> >
> > Ben /home/kullanici/public_html &#351;eklinde
> bulunan
> > kalsörlerimi /yedek klasörüme kopyalamak
> istiyorum,
> > ancak
> >
> > cp -vr /home/*/public_html /yedek komutunu
> > verdi&#287;imde bütün public_html klasörleri
> > /yedek/public_html ad&#305;nda tekbir klasör
> > alt&#305;nda birle&#351;iyor. Ama ben
> bunlar&#305;n
> > ayn&#305; home alt&#305;nda durdu&#287;u gibi
> herbir
> > /yedek/kullanici/public_html &#351;eklinde
> > durmas&#305;n&#305; istiyorum. Bunun için cp
> komutunu
> > nas&#305;l kullanmal&#305;y&#305;m ? Cevaplar için
> te&#351;ekkürler.
>
>
> -- Attached file included as plaintext by Ecartis --
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
>
iD8DBQFA88x1GcWq5WdHoacRAp8HAKCXuw943o0jE5MiP3KSKa85SSJKIACeK5z5
> lor98LVtyOSKQqsruXfOkmE
> =wf/W
> -----END PGP SIGNATURE-----
>
>
> ---
> linux-baslangic listesinden cikmak ve tum listeci
> islemleri icin
> http://liste.linux.org.tr/ adresini
> kullanabilirisniz.
> Bu listeden cikmak icin
> <a
>
href="mailto:linux-baslangic-request@liste.linux.org.tr?Subject=unsubscribe">
> tiklayiniz</a>
>
>

====

BE THE SOURCE WITH YOU
http://nightwalkers.blogspot.com

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html

---
linux-baslangic listesinden cikmak  ve tum listeci islemleri icin
http://liste.linux.org.tr/   adresini kullanabilirisniz.
Bu listeden cikmak icin
<a href="mailto:linux-baslangic-request@liste.linux.org.tr?Subject=unsubscribe"> tiklayiniz</a>


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

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.