There is a command to erase a file without send it to the trash?
I am pretty sure that i don't need some files anymore. I want to clean my storage. Do I need to send those files to the trash?
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
I'm not sure how confident you're going to be using Terminal commands as a brand new user, so I wouldn't recommend doing anything that can permanently, no questions asked, delete data from your hard drive.
It would be far safer to delete files to the Trash using the standard Finder command
Cmd ⌘ Backspace ← .
Then when you are happy you really didn't need the files, again from the Finder
Cmd ⌘ Shift ⇧ Backspace ← will empty the trash.
That in itself wouldn't securely erase, preventing all recovery efforts; but from a standard user perspective, they would be gone & the hard disk space freed up to be used again.