User Tools

Site Tools


file:delete_files_with_control_characters_in_their_filenames

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

file:delete_files_with_control_characters_in_their_filenames [2016/07/10 18:30] – created peterfile:delete_files_with_control_characters_in_their_filenames [2019/11/27 21:10] (current) – removed peter
Line 1: Line 1:
-====== File - Delete files with control characters in their filenames ====== 
- 
-To delete files with control characters in them like ^M or ^L use the control-V shell feature.  This tells many shells to interpret the next input character as a literal character (instead of as a control character).   
- 
-To delete a file with a space before the ctrl-L " ^L" you would issue the following keystrokes in this order (separated by commas) r,m, ,\, ,ctrl-v,ctrl-l.  The \ escapes the space.  The command looks like: 
- 
-<code bash> 
-rm \ ^L 
-</code> 
- 
  
file/delete_files_with_control_characters_in_their_filenames.1468175416.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki