I\'m writing shell script to backup files older than 7 days. Here is my code. But i\'m not getting expected result. Can anyone correct me?
#!/bin/bash # Back
Replace your find command with this and try again,
find
find /var/log -type f -mtime +7