User Tools

Site Tools


ubuntu:file:delete_empty_files

Differences

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

Link to this comparison view

Next revision
Previous revision
ubuntu:file:delete_empty_files [2019/11/27 21:08] – created peterubuntu:file:delete_empty_files [2022/06/13 10:28] (current) – removed peter
Line 1: Line 1:
-====== Ubuntu - File - Delete empty files ====== 
  
-<code bash> 
-find /path/to/dir -type f -size 0 -print|xargs rm 
-</code> 
- 
-**NOTE**:  The subdirectories of /path/to/dir are also scanned. 
ubuntu/file/delete_empty_files.1574888914.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki