zoukankan      html  css  js  c++  java
  • Ubuntu VMware workstation虚拟机清理缓存文件获得更大硬盘空间

    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$ 
  • 相关阅读:
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    数据库路由中间件MyCat
    云架构师进阶攻略(3)
    PAT 1059. C语言竞赛
    PAT 1058. 选择题
  • 原文地址:https://www.cnblogs.com/fanbi/p/10649239.html
Copyright © 2011-2022 走看看