This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux:ubuntu:troubleshooting [2017/06/01 16:44] – lunetikk | linux:ubuntu:troubleshooting [2020/03/08 00:36] (current) – lunetikk | ||
---|---|---|---|
Line 65: | Line 65: | ||
cd /var/bla | cd /var/bla | ||
for i in * ; do rm $i ; done | for i in * ; do rm $i ; done | ||
+ | </ | ||
+ | |||
+ | if too many | ||
+ | < | ||
+ | mkdir empty_dir | ||
+ | rsync -a --delete empty_dir/ yourdirectory/ | ||
</ | </ | ||