bash remove random files from directory
find /path/to/dir -type f -print0 | sort -zR | tail -zn +1001 | xargs -0 rm
Also in Shell:
- show remote git
- i dont have pip, hoow to install pandas
- linux zip a directory
- create super user in django
- git init at wrong folder
- unknown type name 'CDVUIWebViewDelegate' CDVUIWebViewDelegate* _webViewDelegate;
- deny directory listing htaccess
- refusing to merge unrelated histories git
- canging branch in git
- cuda 10 install pytorch
- linux replace string in files recursively
- ubuntu bionic docker container install chrome
- how to install pytorch 0.4.1
- homestead.yaml adding provisions
- install kubernetess on mac
- start mongodb
- installing git on mac
- ping a port linux
- remove home icon ubuntu
- git get repository url
- linux see when file created
- comment in shell script
- linux verzeichnis löschen
- install pip3