I want to run a command similar to this where AVI files older than 7 days will be deleted:
find "/home/user/videos folder/*.avi" -mtime +7 -exec rm -f
But as you can see, the videos folder has a space so I had to put that path in quotes. But, will the asterisk still do its job to find all AVI files, or will Linux now think the asterisk is the actual filename now?
Let's just assume I didn't want to remove the space in the path by renaming the folder.