Hi
I need to find and copy to another folder files from one location.
I use find command and i use two files:
Code:
touch -t 200001010001 /root/michal/2000
Code:
touch -t 200805010001 /root/michal/maj
Now with this files i find files between dates and I need to copy to another location but with directory structure
Code:
find /samba/ftp/atlas/ -newer /root/michal/powiadomienie/2000 \! -newer /root/michal/powiadomienie/maj -exec cp -a {} /root/michal/ftp/atlas/ \;
Problem is because when command finish I have to folders:
source folders size 8 GB
destination folder size 35GB ???
Destination include file from source but have another files.
Someone can help me with that?
I check command cp -R but effect is the same with cp -a.
I don't need archive file (tar bzip).
Thanks