Re: [OE-core] Efficient ways to delete a build directory

2019-01-03 Thread Burton, Ross
On Thu, 3 Jan 2019 at 02:39, Robert Yang wrote: > We can see that find -delete is the fastest way, rsync is the slowest one, > and rm is close to find. Maybe it is because find and rsync are improved in > nowadays, so they are faster than rsync. That's good to know. There were some improvements

Re: [OE-core] Efficient ways to delete a build directory

2019-01-02 Thread Robert Yang
On 1/3/19 10:44 AM, Robert Yang wrote: We have the following 3 ways to delete a build directory: * rm -fr build * find -delete build * rsync -a --delete emtpy_dir build I've heard that rsync is the fastest way for removing millions of files, so I did a test on removing the build dir: * Host in

[OE-core] Efficient ways to delete a build directory

2019-01-02 Thread Robert Yang
We have the following 3 ways to delete a build directory: * rm -fr build * find -delete build * rsync -a --delete emtpy_dir build I've heard that rsync is the fastest way for removing millions of files, so I did a test on removing the build dir: * Host info: $ cat /etc/issue Ubuntu 14.04.4