one magento developer

my experiences about magento

Linux find large files to remove

I have an SSD 128G hard so sometimes I need to remove files to eras space to my new project. for that, I need to find large files and remove them.

by this code you can find them

find /home/ -xdev -type f -size +100M

/ home/ : is directory that you want to find files there

-type: determine type file to find

f : means file or if you need to find directory you can use d

-size : determine the files size

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*
You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>