Re: replace multiple string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



how about...

     find . -depth -execdir mv \{} ${\{}/old/new} \;


I do highly recommend test-running this with a "echo " in front of the 
mv command.   I didn't test it.


-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux