mkdir empty && rsync -r --delete empty/ some-dir && rmdir some-dir
: '#1
10.60, 1.31
'
rsync -a –delete empty/ a
: '#2
28.51, 14.46
'
find b/ -type f -delete
: '#3
41.69, 20.60
'
find c/ -type f | xargs -L 100 rm
: '#4
34.32, 27.82
'
find d/ -type f | xargs -L 100 -P 100 rm
: '#5
31.29, 14.80
'
rm -rf f
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.