请问除了Nautilus,还有其它类似的文件管理器吗?
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 82
- 注册时间: 2007-10-09 21:54
- 来自: 益州
请问除了Nautilus,还有其它类似的文件管理器吗?
发现Nautilus 一个很不爽的地方,就是显示文件夹的大小时只能显示多少项,而不能显示容量多大。
右键选择某几个文件夹看“属性”或按Alt+Enter这个方法我知道,但这个也没多大用处,我还是得在一个个文件中找出较大的,太麻烦了!
看了帮助文件,上面说:
By Size
Select this option to sort the items by size, with the largest item first. When you sort items by size, the
folders are sorted by the number of items in the folder. The folders are not
sorted by the total size of the items in the folder.
在网上搜到一篇文章:
http://ubuntuforums.org.sixxs.org/archi ... 97095.html
看来这个基本上没法改了。
难道就没有解决的方法么?
真想换个浏览器,一定要带这个功能的。。。
右键选择某几个文件夹看“属性”或按Alt+Enter这个方法我知道,但这个也没多大用处,我还是得在一个个文件中找出较大的,太麻烦了!
看了帮助文件,上面说:
By Size
Select this option to sort the items by size, with the largest item first. When you sort items by size, the
folders are sorted by the number of items in the folder. The folders are not
sorted by the total size of the items in the folder.
在网上搜到一篇文章:
http://ubuntuforums.org.sixxs.org/archi ... 97095.html
看来这个基本上没法改了。
难道就没有解决的方法么?
真想换个浏览器,一定要带这个功能的。。。
-
- 帖子: 50
- 注册时间: 2008-04-07 8:53
- TheThirdGhost
- 帖子: 1592
- 注册时间: 2006-07-23 16:25
- 来自: 南京
-
- 帖子: 50
- 注册时间: 2008-04-07 8:53
-
- 帖子: 82
- 注册时间: 2007-10-09 21:54
- 来自: 益州
-
- 帖子: 82
- 注册时间: 2007-10-09 21:54
- 来自: 益州
-
- 帖子: 50
- 注册时间: 2008-04-07 8:53
-
- 帖子: 50
- 注册时间: 2008-04-07 8:53
vi totalsize.sh
拷贝以下内容
保存退出后
chmod 755 totalsize.sh
随便你给他改成啥权限,宿主有x权限就可以了
执行结果为:
还是tmd有BUG。。。。。 0.494M 505.478K 3261-cn.rar,这个是"SIP 3261-cn.rar"。。。中间有个空格。我不管了。。。还得写代码呢,无尽的加班
拷贝以下内容
保存退出后
chmod 755 totalsize.sh
随便你给他改成啥权限,宿主有x权限就可以了
代码: 全选
#/bin/sh
if [ $# -gt 0 ]
then
echo "Usage: $totalsize.sh (Note: no arguments)"
exit
fi
bgntime=`date +%s`
tmpval=$1
totalsize=0
totalsizedir=0
echo "1) Files"
echo " MB KB File"
echo "------------------------------------------------------------------------"
#NF the nums of fields per row
ls -l $1 |grep -v ^d |sort -n +4 |awk '(NF > 2){totalsize=totalsize+$5;printf "%14.3fM %14.3fK %s\n",$5/1024/1024M,$5/1024,$NF} END{ printf "------------Total:%fM-------------",totalsize/1024/1024}'|sed 's:/.*/\([^/]\{1,\}\)$:\1:g'
echo
echo
echo "2) Dirs"
echo " MB KB Directories"
echo "------------------------------------------------------------------------"
du $1 --max-depth=1 | sort -n|awk '$2!="." {totalsizedir=totalsizedir+$1;printf "%14.3fM %14.3fK %s\n",$1/1024,$1,$2} END{printf "--------------Total: %fM---------------\n",totalsizedir/1024 }'|sed 's:/.*/\([^/]\{1,\}\)$:\1:g'
endtime=`date +%s`
echo "Total Time: $(($endtime-$bgntime))s"
执行结果为:
代码: 全选
[gabriel@Gabriel ~]$ ./test.sh
1) Files
MB KB File
------------------------------------------------------------------------
0.001M 1.150K test.sh
0.002M 1.885K xorg.conf
0.494M 505.478K 3261-cn.rar
------------Total:0.496594M-------------
2) Dirs
MB KB Directories
------------------------------------------------------------------------
0.000M 0.000K ./.adobe
0.000M 0.000K ./.gconfd
0.000M 0.000K ./.gnome2
0.000M 0.000K ./Desktop
0.000M 0.000K ./IdeaProjects
0.000M 0.000K ./share
0.000M 0.000K ./virtualbox_share
0.004M 4.000K ./.dbus
0.004M 4.000K ./.gconf
0.004M 4.000K ./.local
0.004M 4.000K ./.qt
0.004M 4.000K ./.ssh
0.008M 8.000K ./.gstreamer-0.10
0.008M 8.000K ./.netbeans-registration
0.008M 8.000K ./tools
0.012M 12.000K ./.mplayer
0.020M 20.000K ./.gftp
0.027M 28.000K ./.fontconfig
0.027M 28.000K ./.xchat2
0.031M 32.000K ./.macromedia
0.035M 36.000K ./.java
0.047M 48.000K ./.cache
0.078M 80.000K ./linux
0.102M 104.000K ./盈多
0.148M 152.000K ./.bluefish
0.192M 197.000K ./.config
0.364M 373.000K ./.gimp-2.4
0.493M 505.000K ./shell
0.515M 527.000K ./.thumbnails
0.881M 902.000K ./.purple
0.896M 917.000K ./gimp
2.221M 2274.000K ./.fcitx
2.500M 2560.000K ./.openoffice.org2
3.265M 3343.000K ./.myeclipse
3.390M 3471.000K ./.wine-5qt4F4
4.034M 4131.000K ./java
5.083M 5205.000K ./3G
5.613M 5748.000K ./.netbeans-derby
17.508M 17928.000K ./workspace
20.096M 20578.000K ./.wine
23.634M 24201.000K ./.netbeans
24.562M 25152.000K ./xfire
25.020M 25620.000K ./.eclipse
31.080M 31826.000K ./.opera
32.523M 33304.000K ./c++
56.456M 57811.000K ./.mozilla
123.549M 126514.000K ./axis
166.188M 170176.000K ./java资料
237.104M 242795.000K ./.IntelliJIdea70
878.826M 899918.000K ./.wzp
1150.157M 1177761.000K ./windows
2628.024M 2691097.000K ./.VirtualBox
--------------Total: 5444.744141M---------------
Total Time: 0s