auhuman
Thursday, December 14, 2023
xargs
Run rm cmd recursively in all subdirectories. Navigate to target dir and run below command
ls | xargs -I % sh -c 'cd %; pwd; rm -rf ; cd ..'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment