I am looking to make an archive of my root directory, but only certain folders/files. So far, this is what I have, can you please tell me what I'm doing wrong? For the purposes of figuring out the issue, I've got 3 test files (test1, etc) in the /home/user directory that I'm trying to archive with cpio, with the folder name being the date. Bear with me, as I'm fairly new at this. Thanks.
LIST="test1 test2 test3"
for i in $LIST
find $i -print | cpio -pduv /home/user ;
find $i -print | cpio -pduv /home/user/backuptest/$today