home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: 23.10 Deletion with Prejudice: rm -f Chapter 23
Removing Files
Next: 23.12 Using Wildcards to Delete Files with Strange Names
 

23.11 Deleting Files with Odd Names

A perennial problem is deleting files that have strange characters (or other oddities) in their names. The next few articles contain some hints for:

  • Deleting files with random control characters in their names (article 23.12 ).

  • Deleting files with a "null" name (article 23.13 ).

  • Deleting files whose names that start with a dash (article 23.14 ).

  • Deleting files with "unprintable" filenames (article 23.15 ).

  • Deleting files by using the inode number (article 23.16 ).

  • Deleting directories, and problems that can arise (article 23.17 ).

We'll also give hints for:

  • Deleting unused (or rarely used) files (articles 23.19 and 23.20 ).

  • Deleting all the files in a directory, except for one or two (article 23.21 ).

- ML


Previous: 23.10 Deletion with Prejudice: rm -f UNIX Power Tools Next: 23.12 Using Wildcards to Delete Files with Strange Names
23.10 Deletion with Prejudice: rm -f Book Index 23.12 Using Wildcards to Delete Files with Strange Names

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System