Search
 
SCRIPT & CODE EXAMPLE
 

CSS

linux remove files except

/* " Be Careful !!! This will delete your folders recursively !!! " 
The below script was used to remove all files exept the last 5 in a pipline 
The ls -1v sorts the folders ascending by number. 
*/
sudo ls -1v | head -n -5 | xargs rm -r
Comment

PREVIOUS NEXT
Code Example
Css :: taille texte css 
Css :: css animation shorthand 
Css :: transition 
Css :: how to center text in a div 
Css :: how to make a square image round css 
Css :: use svg icon to before after 
Css :: sass mixin 
Css :: css background image not working 
Css :: css calc vw minus px 
Css :: markdown dont skip space 
Css :: wordpress https to localhost http 
Css :: hide the scrollbar in css if not overflow 
Css :: preloader css 
Css :: arrow right css 
Css :: margin bottom 
Css :: iphne media query csss 
Css :: css clip 
Css :: constraint barrier example 
Css :: margin-top not working 
Css :: css outline style 
Css :: bootstrap z-index 
Css :: htaccess file extension 
Css :: styling input field tailwind css 
Css :: angular css animation 
Css :: set css on parent element css 
Css :: clear both css 
Css :: tilt element css animation 
Css :: what to use instead of overflow overlay 
Css :: details transition css 
Css :: gradient css 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =