--
欢迎来到杭州Linux用户组邮件列表
要在列表里发起一个帖子(专业术语叫线索,thread) 发送邮件到 hz...@googlegroups.com
如要退订: 请发送空邮件至 hzlug+un...@googlegroups.com
详情请看: http://groups.google.com/group/hzlug?hl=zh-CN
<Menu_001.png>
#!/bin/bash
#project gmeld.sh by icyomik
#depends: meld or diff, cksum or md5sum and so on, zenity
#sumalg:"cksum" "md5sum" "sha1sum" "sha224sum" "sha256sum" "sha384sum"
"sha512sum"
sumalg=md5sum
#compare:"diff" "meld"
compare=meld
dirselect=`zenity --file-selection --directory --title="Choose a DIR
to sum (Gmeld)"`
sumtmp1=`mktemp`
sumtmp2=`mktemp`
if [ -n "$dirselect" ];then
cd $dirselect
echo -e "\n\t$dirselect\n" >$sumtmp1
find . -not -type d -size -32M -exec $sumalg {} \; |awk '{print $2" --
- "$1}' |sort >>$sumtmp1
echo "tmp file $sumtmp1 is ok."
zenity --question --text="Do you want to use previous dir to compare ?
\n( Choose \"yes\" or \"no\" when you finished jobs ! )"
[ $? -eq "1" ] && dirselect=`zenity --file-selection --directory --
title="Choose a DIR to sum (Gmeld)"`
cd $dirselect
echo -e "\n\t$dirselect\n" >$sumtmp2
find . -not -type d -size -32M -exec $sumalg {} \; |awk '{print $2" --
- "$1}' |sort >>$sumtmp2
echo "tmp file $sumtmp2 is ok, too !"
echo "using \"$compare\" program to compare..."
$compare $sumtmp1 $sumtmp2
else
echo "you haven't chosen the path to snap !"
fi
echo "removing $sumtmp1 and $sumtmp2"
rm -f $sumtmp1 $sumtmp2
On Dec 9, 11:49 pm, wei will <willw...@gmail.com> wrote:
> 多谢。。我想知道,遇到这个问题,大家是怎么知道的?呵呵,就是怎么知道在~/.config/autostart下面的。。除了google以外。。"自助式"解决,怎么想法去找解决的源头呢?
>
> 在 2010年12月9日 下午11:50,Tualatrix Chou <tualat...@gmail.com>写道:
>
> > ~/.config/autostart
> > /etc/xdg/autostart
> > 如果我没记错的话
>
> > 发自我的 iPhone
>
> > 在 2010-12-9,23:42,wei will <willw...@gmail.com> 写到:
>
> > RT。。图片在附件里面。。
> > 我也找了好久,就是没有找到。。
> > 所以过来求助了。。
> > ~目录下没有xsession......
> > 知道的告诉我下好了。。多谢各位。
>
> > --
> > 欢迎来到杭州Linux用户组邮件列表
> > 要在列表里发起一个帖子(专业术语叫线索,thread) 发送邮件到 <hz...@googlegroups.com>
> > hz...@googlegroups.com
> > 如要退订: 请发送空邮件至 <hzlug+un...@googlegroups.com>
> > hzlug+un...@googlegroups.com
> > 详情请看: <http://groups.google.com/group/hzlug?hl=zh-CN>
> >http://groups.google.com/group/hzlug?hl=zh-CN
>
> > <Menu_001.png>
>
> > --
> > 欢迎来到杭州Linux用户组邮件列表
> > 要在列表里发起一个帖子(专业术语叫线索,thread) 发送邮件到 hz...@googlegroups.com
> > 如要退订: 请发送空邮件至 hzlug+un...@googlegroups.com<hzlug%2Bunsu...@googlegroups.com>
> > 详情请看:http://groups.google.com/group/hzlug?hl=zh-CN
>
>