Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] scripts: Add cleanup-downloads-dir tool
@ 2015-06-12 12:15 Laurentiu Palcu
  2015-06-12 12:15 ` [PATCH 1/1] " Laurentiu Palcu
  2015-06-15 22:38 ` [PATCH 0/1] " Burton, Ross
  0 siblings, 2 replies; 4+ messages in thread
From: Laurentiu Palcu @ 2015-06-12 12:15 UTC (permalink / raw)
  To: Richard Purdie, Paul Eggleton, Ross Burton; +Cc: openembedded-core

Hi all,

A few days ago I noticed I had no space on disk and decided to make some
space. Since my downloads directory was never deleted since denzil, it
consumed 25GB of space which I needed. However, I wanted to delete only old
and unneeded tarbals/git repos and keep the ones that my current Yocto
version needed, so I wrote this tool.

After running it, my downloads size became 7GB.

I also tested on a brand new downloads directory, after doing a
core-image-minimal build, and it didn't find any obsolete files (which
is kind of normal). :)

I hope someone finds it helpful. Also, I encourage you to give it a
test. Don't worry, it will not delete anything unless you allow it and
you can review the list of files to be removed. If you see anything
suspicious, let me know.

laurentiu

Laurentiu Palcu (1):
  scripts: Add cleanup-downloads-dir tool

 scripts/cleanup-downloads-dir | 158 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 158 insertions(+)
 create mode 100755 scripts/cleanup-downloads-dir

-- 
1.9.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-16  7:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-12 12:15 [PATCH 0/1] scripts: Add cleanup-downloads-dir tool Laurentiu Palcu
2015-06-12 12:15 ` [PATCH 1/1] " Laurentiu Palcu
2015-06-15 22:38 ` [PATCH 0/1] " Burton, Ross
2015-06-16  7:50   ` Laurentiu Palcu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox