Combination of commands to remove something

I wanna move some folder name pip-* , every folders to /mnt/tmp3. But monitor server does not allow me to do it. So i keep do it 100 folders each time. I end up with this below

$ ls -tr | grep pip- | head -n100 | xargs -i{} sudo mv {} /mnt/tmp3

Comments

Popular posts from this blog

Difference between apt-get update and apt-get dis-upgrade