Closed cherishman2005 closed 3 years ago
# rm *.jpeg *.aac bash: /bin/rm: Argument list too long
命令1为:
find test/ -name "*.jpeg" | xargs -i rm {}
命令2为:
find test/ -name "*.jpeg" -exec rm {} \;
find ./ -name "*.jpeg" | xargs -i rm {}
find ./ -name "*.aac" | xargs -i rm {}