20.06.2024, 05:32 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
kt
25 Titel: Megabyts (/.tumbnails folder) clear out  BeitragVerfasst am: 30.08.2006, 09:07 Uhr



Anmeldung: 18. Mai 2004
Beiträge: 462
Wohnort: Frankfurt a. Main
Hello,

Problem:

if one works with pictures month for month so, each of these becomes "preview graphics" in this "user sub-folder tumbnails" usually laid out in 2 sizes. This folder is hidden, so further it himself notices this there megabytes or even gigabyte of pictures accumulate this folder.

Solution:

for some time, these weren't used all tumbmails delete:

Script: (tumbnails.sh)
Code:
#!/bin/sh
# Tumbnails remove this one were longer than not used for 14 days any more
find ~/.thumbnails -type f -atime +14 -exec rm '{}' \;


save script "tumbnails.sh"
make executable "chmod +x tumbnails.sh
start with "./ tumbnails.sh"

_________________
Gruss / regards
Thomas
.
[Kanotix x64]
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.