Thursday, December 14, 2023

xargs

  1.  Run rm cmd recursively in all subdirectories. Navigate to target dir and run below command
    1. ls | xargs -I % sh -c  'cd %; pwd; rm -rf ; cd ..'
    2.  

No comments:

Post a Comment