Hi!
I would like to move files from one directory to another keeping dates, owner etc and based on a search pattern.
With the command below I can COPY files as I want:
I would like to move files from one directory to another keeping dates, owner etc and based on a search pattern.
With the command below I can COPY files as I want:
Code:
cd $dir ; find . -print | egrep -v '$pat' | cpio -pdvmu $outdir
[\code]
What is the equivalent command to move the files and not copy?
Many thanks!