Pages: [1]   Go Down
  Print  
Author Topic: Master the command line: Deleting files and folders  (Read 256 times)
HCK
Global Moderator
Hero Member
*****
Posts: 79425



« on: August 25, 2020, 04:05:12 pm »

Master the command line: Deleting files and folders

<article>
   <section class="page">
<p>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 <code><strong>rm</strong></code> command allows you to remove (or delete) files. The <code><strong>rmdir</strong></code> 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.</p><h2>Why bother deleting files with the command line?</h2>
<p>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:</p><p class="jumpTag"><a href="/article/2082021/master-the-command-line-deleting-files-and-folders.html#jump">To read this article in full, please click here[/url]</p></section></article>

Source: Master the command line: Deleting files and folders
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: