Total Pageviews

Tuesday 25 August 2020

Master the command line: Deleting files and folders

When it comes to quickly taking care of daily tasks, the command line can be both powerful and dangerous. Take today’s commands as an example: the rm command allows you to remove (or delete) files. The rmdir command does the same to directories (also know as folders). But be careful: Unlike when you move files to the Trash from the Finder, there’s no way to get them back if you use these commands. Still, if you want to tap into Terminal’s powers, this is a command you can’t overlook. I’ll show you how to add a safeguard to ensure that you only delete files you really want to delete.

Why bother deleting files with the command line?

Deleting files with the Finder isn’t too difficult, plus you can always fish files out of the Trash if you change your mind. So why bother using the command line? Here are some reasons:

To read this article in full, please click here



from Macworld https://ift.tt/2EsRtUe
via IFTTT

No comments:

Post a Comment