当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 求助一个删除命令
帖子发表于 : 2009-09-25 17:17 

注册: 2008-12-01 7:52
帖子: 307
地址: 蜀山
送出感谢: 0 次
接收感谢: 0 次
locate texlive
代码:
/home/cmdblock/.texlive
/var/lib/pacman/local/texlive-bin-2009.2-2
/var/lib/pacman/local/texlive-core-2009.15216-1
/var/lib/pacman/local/texlive-langcjk-2009.15155-1
/var/lib/pacman/local/texlive-langcjk-doc-2008.11913-1
/var/lib/pacman/local/texlive-latex3-2009.15164-1
/var/lib/pacman/local/texlive-latexextra-2009.15178-1
/var/lib/pacman/sync/community/texlive-bibtexextra-doc-2008.12985-2
/var/lib/pacman/sync/community/texlive-core-doc-2008.13013-1
/var/lib/pacman/sync/community/texlive-dot2texi-3.0-3
/var/lib/pacman/sync/community/texlive-fontsextra-doc-2008.13014-1
/var/lib/pacman/sync/community/texlive-formatsextra-doc-2008.11913-1
/var/lib/pacman/sync/community/texlive-games-doc-2008.12626-1
/var/lib/pacman/sync/community/texlive-genericextra-doc-2008.12667-1
/var/lib/pacman/sync/community/texlive-htmlxml-doc-2008.12803-1
/var/lib/pacman/sync/community/texlive-humanities-doc-2008.11969-1
/var/lib/pacman/sync/community/texlive-langcjk-doc-2008.11913-1
/var/lib/pacman/sync/community/texlive-langcyrillic-doc-2008.12723-2
/var/lib/pacman/sync/community/texlive-langextra-doc-2008.12666-1
/var/lib/pacman/sync/community/texlive-langgreek-doc-2008.12184-1
/var/lib/pacman/sync/community/texlive-latex3-doc-2008.10126-2
/var/lib/pacman/sync/community/texlive-latexextra-doc-2008.13033-1
/var/lib/pacman/sync/community/texlive-music-doc-2008.7340-2
/var/lib/pacman/sync/community/texlive-pictures-doc-2008.12087-1
/var/lib/pacman/sync/community/texlive-plainextra-doc-2008.11913-1
/var/lib/pacman/sync/community/texlive-pstricks-doc-2008.12873-2
/var/lib/pacman/sync/community/texlive-publishers-doc-2008.11913-1
/var/lib/pacman/sync/community/texlive-science-doc-2008.12088-1
/var/lib/pacman/sync/community/texlive-bibtexextra-doc-2008.12985-2/depends
/var/lib/pacman/sync/community/texlive-bibtexextra-doc-2008.12985-2/desc
/var/lib/pacman/sync/community/texlive-core-doc-2008.13013-1/depends
/var/lib/pacman/sync/community/texlive-core-doc-2008.13013-1/desc
/var/lib/pacman/sync/community/texlive-dot2texi-3.0-3/depends
/var/lib/pacman/sync/community/texlive-dot2texi-3.0-3/desc
/var/lib/pacman/sync/community/texlive-fontsextra-doc-2008.13014-1/depends
/var/lib/pacman/sync/community/texlive-fontsextra-doc-2008.13014-1/desc
/var/lib/pacman/sync/community/texlive-formatsextra-doc-2008.11913-1/depends
/var/lib/pacman/sync/community/texlive-formatsextra-doc-2008.11913-1/desc
/var/lib/pacman/sync/community/texlive-games-doc-2008.12626-1/depends
/var/lib/pacman/sync/community/texlive-games-doc-2008.12626-1/desc
/var/lib/pacman/sync/community/texlive-genericextra-doc-2008.12667-1/depends
/var/lib/pacman/sync/community/texlive-genericextra-doc-2008.12667-1/desc
/var/lib/pacman/sync/community/texlive-htmlxml-doc-2008.12803-1/depends
/var/lib/pacman/sync/community/texlive-htmlxml-doc-2008.12803-1/desc
/var/lib/pacman/sync/community/texlive-humanities-doc-2008.11969-1/depends
/var/lib/pacman/sync/community/texlive-humanities-doc-2008.11969-1/desc
/var/lib/pacman/sync/community/texlive-langcjk-doc-2008.11913-1/depends
/var/lib/pacman/sync/community/texlive-langcjk-doc-2008.11913-1/desc
/var/lib/pacman/sync/community/texlive-langcyrillic-doc-2008.12723-2/depends
/var/lib/pacman/sync/community/texlive-langcyrillic-doc-2008.12723-2/desc
/var/lib/pacman/sync/community/texlive-langextra-doc-2008.12666-1/depends
/var/lib/pacman/sync/community/texlive-langextra-doc-2008.12666-1/desc
/var/lib/pacman/sync/community/texlive-langgreek-doc-2008.12184-1/depends
/var/lib/pacman/sync/community/texlive-langgreek-doc-2008.12184-1/desc
/var/lib/pacman/sync/community/texlive-latex3-doc-2008.10126-2/depends
/var/lib/pacman/sync/community/texlive-latex3-doc-2008.10126-2/desc
/var/lib/pacman/sync/community/texlive-latexextra-doc-2008.13033-1/depends
/var/lib/pacman/sync/community/texlive-latexextra-doc-2008.13033-1/desc
/var/lib/pacman/sync/community/texlive-music-doc-2008.7340-2/depends
/var/lib/pacman/sync/community/texlive-music-doc-2008.7340-2/desc
/var/lib/pacman/sync/community/texlive-pictures-doc-2008.12087-1/depends
/var/lib/pacman/sync/community/texlive-pictures-doc-2008.12087-1/desc
/var/lib/pacman/sync/community/texlive-plainextra-doc-2008.11913-1/depends
/var/lib/pacman/sync/community/texlive-plainextra-doc-2008.11913-1/desc
/var/lib/pacman/sync/community/texlive-pstricks-doc-2008.12873-2/depends
/var/lib/pacman/sync/community/texlive-pstricks-doc-2008.12873-2/desc
/var/lib/pacman/sync/community/texlive-publishers-doc-2008.11913-1/depends
/var/lib/pacman/sync/community/texlive-publishers-doc-2008.11913-1/desc
/var/lib/pacman/sync/community/texlive-science-doc-2008.12088-1/depends
/var/lib/pacman/sync/community/texlive-science-doc-2008.12088-1/desc
/var/lib/pacman/sync/extra/texlive-bibtexextra-2009.15177-1
/var/lib/pacman/sync/extra/texlive-bin-2009.2-2
/var/lib/pacman/sync/extra/texlive-core-2009.15216-1
/var/lib/pacman/sync/extra/texlive-fontsextra-2009.14874-1
/var/lib/pacman/sync/extra/texlive-formatsextra-2009.14770-1
/var/lib/pacman/sync/extra/texlive-games-2009.15166-1
/var/lib/pacman/sync/extra/texlive-genericextra-2009.14264-1
/var/lib/pacman/sync/extra/texlive-htmlxml-2009.14086-2
/var/lib/pacman/sync/extra/texlive-humanities-2009.15113-1
/var/lib/pacman/sync/extra/texlive-langcjk-2009.15155-1
/var/lib/pacman/sync/extra/texlive-langcyrillic-2009.14821-1
/var/lib/pacman/sync/extra/texlive-langextra-2009.14322-3
/var/lib/pacman/sync/extra/texlive-langgreek-2009.14873-1
/var/lib/pacman/sync/extra/texlive-latex3-2009.15164-1
/var/lib/pacman/sync/extra/texlive-latexextra-2009.15178-1
/var/lib/pacman/sync/extra/texlive-music-2009.13822-1
/var/lib/pacman/sync/extra/texlive-pictures-2009.15144-1
/var/lib/pacman/sync/extra/texlive-plainextra-2009.14767-1
/var/lib/pacman/sync/extra/texlive-pstricks-2009.15032-1
/var/lib/pacman/sync/extra/texlive-publishers-2009.14714-1
/var/lib/pacman/sync/extra/texlive-science-2009.14871-1

我想删除上面的文件,该怎么做?
不可能一句一句的删吧,它们都是在不同的目录


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 求助一个删除命令
帖子发表于 : 2009-09-25 17:20 
头像

注册: 2009-03-10 13:04
帖子: 7803
送出感谢: 1
接收感谢: 0 次
通配符啊


_________________
广告位招租


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 求助一个删除命令
帖子发表于 : 2009-09-25 17:54 
头像

注册: 2007-11-19 21:51
帖子: 6956
地址: 成都
送出感谢: 0 次
接收感谢: 4
代码:
locate texlive|xargs sudo rm


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 求助一个删除命令
帖子发表于 : 2009-11-15 14:03 

注册: 2008-10-31 22:12
帖子: 6546
系统: 践兔
送出感谢: 18
接收感谢: 25
代码:
rm -Rfv $(locate texlive)


_________________
代码:
] ls -ld //


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 求助一个删除命令
帖子发表于 : 2009-11-15 15:27 
头像

注册: 2007-09-29 3:09
帖子: 5773
送出感谢: 0 次
接收感谢: 3
删这些干嘛...pacman的sync目录删完下次更新还是有啊...
你不想升级?直接ignore这个组就行了啊...


_________________
HUNT Unfortunately No Talent...


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 求助一个删除命令
帖子发表于 : 2009-11-17 22:30 
头像

注册: 2009-11-17 12:29
帖子: 883
送出感谢: 0 次
接收感谢: 0 次
说起来还有一个方法。。
find / -name '*texlive*' -delete

当然要sudo就sudo。。


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:irene1459 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译