1 前言
VMware workstation 15 Player經常使用拖拉復制文件到虛擬機,從而導致了drag_and_drop特別大,占用了很多硬盤空間。
fanbi@ubuntu:~/.cache/vmware/drag_and_drop$ du -d 1 -h 408K ./OTRviI 8.0K ./htfWbB 840K ./f0AldU 48K ./8ybJ7Z 714M ./OlzdIA 2.3M ./2KLDFY 48K ./GqAB90 1.5G ./ONeJEv 12K ./5wCZpk 12K ./ugyIsY 1.2M ./TBZCsM 2.3G ./ZWHp1N 28K ./8LRpoo 16K ./cpFGia 36K ./hWtsLo 79M ./rRsiU4 78M ./aoM42S 1.2G ./b7ecef 814M ./bYCCLZ 12K ./nivyQx 16K ./v89g1K 48K ./qZIcii 205M ./TdUz7e 417M ./iIyoYq 40K ./OIsuMg 8.0K ./t83iTV 308K ./0iuhNU 74M ./iA2HEG 904M ./P4WFbz 714M ./qYFH7j 8.8G
其中,進入文件夾,可以見到每一次拖拽產生的文件,都在子文件夾中有一份。
2 清理
我們刪除它即可,就可以很好得騰出硬盤空間了。
fanbi@ubuntu:~/.cache/vmware/drag_and_drop$ ls 0iuhNU 8LRpoo b7ecef f0AldU hWtsLo nivyQx ONeJEv qYFH7j t83iTV ugyIsY 2KLDFY 8ybJ7Z bYCCLZ GqAB90 iA2HEG OIsuMg OTRviI qZIcii TBZCsM v89g1K 5wCZpk aoM42S cpFGia htfWbB iIyoYq OlzdIA P4WFbz rRsiU4 TdUz7e ZWHp1N fanbi@ubuntu:~/.cache/vmware/drag_and_drop$ rm -rf * fanbi@ubuntu:~/.cache/vmware/drag_and_drop$ ls fanbi@ubuntu:~/.cache/vmware/drag_and_drop$ ll total 8 drwx------ 2 fanbi fanbi 4096 Apr 3 00:30 ./ drwx------ 3 fanbi fanbi 4096 Feb 27 19:33 ../ fanbi@ubuntu:~/.cache/vmware/drag_and_drop$ du -d 1 -h 4.0K . fanbi@ubuntu:~/.cache/vmware/drag_and_drop$