I'm trying to find any files on a specific mount that are older than one year and do not belong to a specific user. This is the command I'm using (within the root directory of the mount):
find . ! -user username -mtime +365 -type f | xargs ls -al > /tmp/list
I'm piping this through xargs because I need to know the absolute path and size for each result. I do get results, but a number of files seem to be missing.
Could someone give me a hand? What am I missing?