0

I have a magento store running on a shared hosting server. We are in process of migrating the site and need to know the size of particular folders like media etc.

This will help us getting the size of backup file in reasonable proportion. Right now the back file is almost 6 GB :-( So its just not possible to download and upload the same.

If I know the size of individual folders, I can leave some of the bigger ones for the time being.

Please let me know how can I know this. Our server has cPanel.

4
  • HAve you tried with ll??
    – poz2k4444
    Oct 10, 2012 at 13:01
  • whats ll ??.... I have no idea about this. Oct 10, 2012 at 13:19
  • when you are at folder you want and in terminal you type ll and hit enter it will display a lot of info, like permissions, type of file, and size, but I don't know if it is what you want
    – poz2k4444
    Oct 10, 2012 at 15:57
  • @PankajUpadhyay: ll is just a frequent alias to ls -l. It doesn't show directory sizes, however. Oct 10, 2012 at 18:16

1 Answer 1

3

Run du -hs /path/to/store/* to calculate sizes of all subfolders directly under /path/to/store.

1
  • Where should I run this command. Oct 11, 2012 at 6:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .