+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
Scripts Thread, Saved 40GB space on shared drives in Coding and Web Development; Originally Posted by jinnantonnixx A way around this would be to add '-exec rename ...' to add a flag to ...
  1. #16

    Join Date
    Jan 2006
    Thank Post
    Thanked 1,033 Times in 813 Posts
    Rep Power
    Quote Originally Posted by jinnantonnixx View Post
    A way around this would be to add '-exec rename ...' to add a flag to a resized file. e.g. lolcat_rs.jpg. Adding _rs to the file flags it as resized. Then add a condition to the find to ignore the _rs flag. e.g.( .... ! -iname "*_rs.jpg") .

    Just a thought....
    like this:
    find ./ -type f -size +1M -mtime +426 \( -iname "*.jpg" ! -iname "rs_*" \) -exec convert -resize 60X60% -quality 60 {} rs_{} \;

  2. #17
    Pete10141748's Avatar
    Join Date
    Nov 2007
    Thank Post
    Thanked 221 Times in 131 Posts
    Rep Power
    Quote Originally Posted by zag View Post
    We have done this for a number of years, saves about 10gb a term for us. No one has ever noticed in the 6 years I've been doing it.

    On windows 7 you can just search for all the jpgs on a shared drive like this in the file explorer search box

    size:large *.jpg
    Then use Image Resizer for Windows to just right click and resize the images. In my experience it saves around 90% of the size by resizing to Large.
    Holy heck, just ran this on the Shared area here and found a little over 35,000 jpg's! :O
    Going to shrink them now, that's ridiculuous!
    Last edited by Pete10141748; 18th May 2012 at 11:53 AM.

+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 8
    Last Post: 5th January 2012, 09:15 AM
  2. recommended free space on system drive
    By RabbieBurns in forum Windows 7
    Replies: 7
    Last Post: 9th November 2011, 11:26 AM
  3. Run out of space on Server C drive!
    By phantomphan in forum Wireless Networks
    Replies: 39
    Last Post: 22nd June 2011, 02:03 PM
  4. Office 2007 installed on shared drive?
    By Ben-BSH in forum Office Software
    Replies: 7
    Last Post: 23rd March 2010, 01:22 PM
  5. Out of drive space on domain?
    By Samson in forum Windows
    Replies: 7
    Last Post: 5th June 2007, 11:14 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts