Mac cleanup

#user cache file
echo "cleaning user cache file from ~/Library/Caches"
rm -rf ~/Library/Caches/*
echo "done cleaning from ~/Library/Caches"
#user logs
echo "cleaning user log file from ~/Library/logs"
rm -rf ~/Library/logs/*
echo "done cleaning from ~/Library/logs"
#user preference log
echo "cleaning user preference logs"
#rm -rf ~/Library/Preferences/*
echo "done cleaning from /Library/Preferences"
#system caches
echo "cleaning system caches"
sudo rm -rf /Library/Caches/*
echo "done cleaning system cache"
#system logs
echo "cleaning system logs from /Library/logs"
sudo rm -rf /Library/logs/*
echo "done cleaning from /Library/logs"
echo "cleaning system logs from /var/log"
sudo rm -rf /var/log/*
echo "done cleaning from /var/log"
echo "cleaning from /private/var/folders"
sudo rm -rf /private/var/folders/*
echo "done cleaning from /private/var/folders"
#ios photo caches
echo "cleaning ios photo caches"
rm -rf ~/Pictures/iPhoto\ Library/iPod\ Photo\ Cache/*
echo "done cleaning from ~/Pictures/iPhoto Library/iPod Photo Cache"
#application caches
echo "cleaning application caches"
for x in $(ls ~/Library/Containers/) 
do 
    echo "cleaning ~/Library/Containers/$x/Data/Library/Caches/"
    rm -rf ~/Library/Containers/$x/Data/Library/Caches/*
    echo "done cleaning ~/Library/Containers/$x/Data/Library/Caches"
done
echo "done cleaning for application caches"

25 replies on “Mac cleanup”

Leave a Comment
  1. Reply

    As I web-site possessor I believe the content material here is rattling fantastic , appreciate it for your efforts. You should keep it up forever! Good Luck.

  2. Reply

    F*ckin?awesome things here. I抦 very glad to see your post. Thanks a lot and i am looking forward to contact you. Will you kindly drop me a e-mail?

  3. Reply

    I do accept as true with all of the concepts you’ve introduced on your post. They are really convincing and can definitely work. Still, the posts are very quick for beginners. Could you please extend them a bit from subsequent time? Thanks for the post.

    https://www.ifashionstyles.com/beauty/hairstyles

  4. Reply

    The factory’s commitment to innovation is reflected in their continuous research and development efforts to enhance the design and functionality of their HDPE and uPVC fittings. Elitepipe Plastic Factory

  5. Reply

    Hello my friend! I want to say that this article is amazing, nice written and include almost all important infos. I抎 like to see more posts like this.

    https://www.hairstylesvip.com

  6. Reply

    I am not sure where you’re getting your info, but great topic. I needs to spend some time learning more or understanding more. Thanks for wonderful information I was looking for this information for my mission.

    https://www.ifashionstyles.com/fashion

  7. Reply

    I really like your blog.. very nice colors & theme. Did you create this website yourself or did you hire someone to do it for you? Plz respond as I’m looking to construct my own blog and would like to know where u got this from. thanks

    https://www.hairstylesvip.com

  8. Reply

    One thing I would really like to say is that car insurance cancellations is a feared experience and if you are doing the appropriate things as a driver you simply will not get one. Lots of people do are sent the notice that they’ve been officially dropped by the insurance company and many have to struggle to get supplemental insurance following a cancellation. Low-cost auto insurance rates usually are hard to get from cancellation. Having the main reasons concerning the auto insurance cancelling can help drivers prevent losing one of the most essential privileges offered. Thanks for the concepts shared by your blog.

    https://www.ifashionstyles.com/fashion

  9. Reply

    ElitePipe Plastic Factory – Your One-Stop Piping Solution in Iraq! 🌍 🏭 Elite Pipe Plastic Factory takes pride in being a trusted manufacturer and supplier of superior plastic piping solutions in Iraq. With our comprehensive product range and unwavering commitment to quality, we are your go-to source for all your piping needs. ✅ HDPE, UPVC, and LDPE Pipes: Our high-quality High-Density Polyethylene (HDPE), Unplasticized Polyvinyl Chloride (UPVC), and Low-Density Polyethylene (LDPE) pipes are engineered to provide exceptional durability, excellent flow characteristics, and resistance to corrosion. Whether it’s water supply, irrigation, or industrial applications, our pipes deliver unmatched performance. 🔩 Butt Welding Machines & Electrofusion Welding EF Machines: We offer state-of-the-art Butt Welding Machines and Electrofusion Welding EF Machines that ensure precise and efficient joining of pipes. These cutting-edge machines guarantee strong and leak-proof connections, meeting the highest industry standards. 🔌 Fittings & Electrofusion Fittings: Complementing our pipe offerings, we provide a wide range of fittings and electrofusion fittings. These products are designed to facilitate seamless installation, enabling reliable connections and optimal system performance. 🌾 Agriculture Pipes: Elite Pipe Plastic Factory understands the importance of efficient irrigation systems in agriculture. Our specially designed agriculture pipes deliver water efficiently to enhance crop growth and maximize yield. Count on us for durable and reliable solutions for your agricultural needs. 🤝 We are committed to delivering products that exceed your expectations. With our superior quality, advanced technology, and dedicated customer service, Elite Pipe Plastic Factory is the trusted partner you can rely on. 📞 Contact us today to discuss your project requirements and experience the excellence of Elite Pipe Plastic Factory! Let us be your preferred choice for top-notch plastic piping solutions in Iraq. 🚀

  10. Reply

    Thanks for your write-up. One other thing is that if you are marketing your property yourself, one of the concerns you need to be aware of upfront is just how to deal with household inspection reports. As a FSBO owner, the key about successfully moving your property along with saving money in real estate agent revenue is knowledge. The more you are aware of, the easier your sales effort might be. One area that this is particularly vital is inspection reports.

    https://www.hairstylesvip.com/hair-type/fine

  11. Reply

    يمكن للعملاء الاعتماد على الخبرة الفنية لمصنع إيليت بايب Elite Pipeودعم العملاء المخصص لمساعدتهم في اختيار التركيبات الأنسب لاحتياجاتهم الخاصة.

  12. Reply

    I like the efforts you have put in this, regards for all the great content.

  13. Reply

    Good post! We will be linking to this particularly great post on our site. Keep up the great writing

  14. Reply

    Great information shared.. really enjoyed reading this post thank you author for sharing this post .. appreciated

  15. Reply

    The factory’s adherence to environmental sustainability is demonstrated through their use of eco-friendly materials and energy-efficient manufacturing practices. Elitepipe Plastic Factory

  16. Reply

    تستخدم القوى العاملة الماهرة في المصنع تقنيات تصنيع متقدمة لإنتاج تجهيزات تتوافق مع المعايير والمواصفات الدولية. إيليت بايب Elite Pipe

  17. Reply

    whoah this blog is excellent i love reading your posts. Keep up the great work! You know, lots of people are hunting around for this information, you could aid them greatly.

    https://www.ifashionstyles.com

  18. Reply

    عندما يتعلق الأمر بأنابيب uPVC ، فإن مصنع إيليت بايب Elite Pipe يضع معايير عالية من خلال منتجاته المصممة بدقة والتي توفر حلول سباكة وري موثوقة وخالية من التسرب.

  19. Reply

    With their extensive range of fittings, including elbows, tees, couplings, and more, Elitepipe Plastic Factory offers comprehensive solutions for various pipe systems and installations. Elitepipe Plastic Factory

Leave a Comment

Your email address will not be published.

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

Send a Message