diff options
author | shingil.kang <shingil.kang@samsung.com> | 2014-03-04 17:12:07 +0900 |
---|---|---|
committer | shingil.kang <shingil.kang@samsung.com> | 2014-03-04 17:12:07 +0900 |
commit | 1798c967206aaccf236ad7a036bf2418ab38c839 (patch) | |
tree | 17cc917632c94000463e22a244d72878187176f9 /org.tizen.common.sdblib | |
parent | 50030bd22919e0e77c179f3d049b6282ee143e7d (diff) | |
download | common-eplugin-1798c967206aaccf236ad7a036bf2418ab38c839.tar.gz common-eplugin-1798c967206aaccf236ad7a036bf2418ab38c839.tar.bz2 common-eplugin-1798c967206aaccf236ad7a036bf2418ab38c839.zip |
TOOLS: Improved counting file size when pulling files in the Connection Explorer
Dereference all symbolic links then count size of it
Count sizes many times if hard linked
Change-Id: I1ab9f79770a0b57dda862e8c97ad71244a8ed27a
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
Diffstat (limited to 'org.tizen.common.sdblib')
-rw-r--r-- | org.tizen.common.sdblib/src/org/tizen/sdblib/receiver/FolderSizeReceiver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.tizen.common.sdblib/src/org/tizen/sdblib/receiver/FolderSizeReceiver.java b/org.tizen.common.sdblib/src/org/tizen/sdblib/receiver/FolderSizeReceiver.java index d2ac785f1..c0e5950fa 100644 --- a/org.tizen.common.sdblib/src/org/tizen/sdblib/receiver/FolderSizeReceiver.java +++ b/org.tizen.common.sdblib/src/org/tizen/sdblib/receiver/FolderSizeReceiver.java @@ -29,7 +29,7 @@ import org.tizen.sdblib.util.Log; public class FolderSizeReceiver extends MultiLineReceiver { - public static final String CMD_DU = "du -bs %s 2> /dev/null"; + public static final String CMD_DU = "du -bslL %s 2> /dev/null"; private long size; |