I would like to avoid any future problems with aliases (empty files created with the Finder, not to be confused with symbolic links) I might have used in the past and which may stay within the system. I discovered a lot of problem with this type of file:
- to backup (with
- to migrate on another file system (with
- to migrate on another system (with
Now I want either to get rid of all of them or at least to know the size of the risk I still have with the remaining ones.
How may I find all the alias type files within a given filesystem using command line (shell script) using for example: