ดูขนาดไฟล์ทั้งหมด ใน Box cd เข้า Usb Box ก่อน
- ls -lah
-rwxrwxrwx 1 root root 28M Mar 27 17:50 DataServer_20170327.full.0.BlankForm.tar.gz
-rwxrwxrwx 1 root root 3.2G Mar 27 22:57 DataServer_20170327.full.0.CEOs.tar.gz
-rwxrwxrwx 1 root root 44G Mar 27 19:00 DataServer_20170327.full.1.Team.tar.gz
-rwxrwxrwx 1 root root 28G Mar 27 19:33 DataServer_20170327.full.2.Quality.tar.gz
-rwxrwxrwx 1 root root 36G Mar 27 20:35 DataServer_20170327.full.3.SS.tar.gz
-rwxrwxrwx 1 root root 101G Mar 27 22:51 DataServer_20170327.full.4.e-document.tar.gz
ดูขนาดไฟล์รวมทั้งหมด
- cd -ch
root@ha1:/mnt/USB/20170327_Full# du -ch
74M ./DataServerSnap
643G .
643G total
ดูขาดไฟล์เฉพาะที่มีชื่อ ตรงกัน เช่น Department
- du -ch *Department*
root@ha1:/mnt/USB/20170327_Full# du -ch *Department*
8.7G DataServer_20170327.full.5.Department.00-Public.tar.gz
25G DataServer_20170327.full.5.Department.01-ฝข.1.tar.gz
3.5G DataServer_20170327.full.5.Department.01-งขต.1.tar.gz
1.6G DataServer_20170327.full.5.Department.01-งขต.2.tar.gz
86M DataServer_20170327.full.5.Department.01-งสข.tar.gz
202M DataServer_20170327.full.5.Department.01-งซต.tar.gz
1.5G DataServer_20170327.full.5.Department.02-งอบ.1.tar.gz
13G DataServer_20170327.full.5.Department.02-งอบ.2.tar.gz
3.9G DataServer_20170327.full.5.Department.02-ฝอบ.tar.gz
4.5G DataServer_20170327.full.5.Department.03-ฝจห.tar.gz
1.8G DataServer_20170327.full.5.Department.03-งจล.tar.gz
21G DataServer_20170327.full.5.Department.03-งจซ.tar.gz
8.2G DataServer_20170327.full.5.Department.04-ฝปค.tar.gz
20G DataServer_20170327.full.5.Department.05-รง.1.tar.gz
1.4G DataServer_20170327.full.5.Department.05-รง.2.tar.gz
89G DataServer_20170327.full.5.Department.05-ฝผล.tar.gz
91G DataServer_20170327.full.5.Department.06-ฝซร.tar.gz
2.8G DataServer_20170327.full.5.Department.06-งบก.tar.gz
8.7G DataServer_20170327.full.5.Department.06-งซร.tar.gz
7.7G DataServer_20170327.full.5.Department.07-ฝทง.tar.gz
35G DataServer_20170327.full.5.Department.07-งบง.tar.gz
5.1G DataServer_20170327.full.5.Department.07-งทส.tar.gz
19G DataServer_20170327.full.5.Department.08-ฝพอ.tar.gz
4.4G DataServer_20170327.full.5.Department.08-งสส.tar.gz
12G DataServer_20170327.full.5.Department.08-งสป.tar.gz
30G DataServer_20170327.full.5.Department.08-งพม.tar.gz
5.3G DataServer_20170327.full.5.Department.09-ฝข.2.tar.gz
481M DataServer_20170327.full.5.Department.10-ฝคส.tar.gz
4.6G DataServer_20170327.full.5.Department.10-งวผ.tar.gz
8.3G DataServer_20170327.full.5.Department.10-งคส.tar.gz
432G total
No comments:
Post a Comment