Keyboard Shortcut to delete a file on a Mac [Macbook]


If you want to delete a file or files on a Mac all you need to do is two finger tap on your trackpad on your MacBook or right click using the Mouse after selecting the file(s) to delete and click on "Move to trash", but you you want to make use of keyboard shortcut| to perform the same operation you can press - Command + Delete keys together, the file will be moved to trash and you should here the sound,

If you want to delete the file completely, without moving to the trash, press Command + Option + Delete keys, you will see a prompt that says,

Are you sure you want to delete FILE? The item will be deleted immediately you can't undo this action.

You need to click on the Delete button of the option to delete the file permanently.

Command + Option + Delete keyboard shortcut to delete file permanenlty
Command + Option + Delete keyboard shortcut to delete file permanenlty





Recent Posts:
Hello there!,

You are using AdBlocker!

I am an independent developer trying to help fellow developers and students to resolve issues faced on a day-to-day basis, we 'Code to Care' . There is a lot of expenses involved in hosting and managing a website that's the reason we have ads.

A humble request to you to disable adBlocker on Code2care.org and support us pay our bills.

Thanks,
Cod2ecare - Line's of code for change.

To see contents reload page after unblocking
Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.