Hi expert,
can someone help me with the command how to tar all files/directory created before jun 30 -2009?
Tar file should keep the directories intack.
I know we have to use the find command but dont know much abt the syntax.
this is what I have:
find /opt/shared/ -type f -atime +660 -exec tar cvf /dev/archive_attachments/attachments_2008.tar {} \;
Thanks
can someone help me with the command how to tar all files/directory created before jun 30 -2009?
Tar file should keep the directories intack.
I know we have to use the find command but dont know much abt the syntax.
this is what I have:
find /opt/shared/ -type f -atime +660 -exec tar cvf /dev/archive_attachments/attachments_2008.tar {} \;
Thanks