1 |
On 11/11/2013 09:44 PM, Edward M wrote: |
2 |
> On 11/11/2013 10:50 AM, Bruce Hill wrote: |
3 |
>> Couldn't you just issue: |
4 |
>> find .mozilla/firefox/ -iname '*.parentlock' 2>/dev/null |
5 |
>> rather than running strace? |
6 |
> Hello:-) |
7 |
> It may work. never tried it |
8 |
> Now I'm thinking probably using a shell script like the |
9 |
> following, can be used instead of strace . |
10 |
> |
11 |
> #!/bin/bash |
12 |
> p_lock=`find ~/.mozilla -name "*lock"' |
13 |
> for file in `echo $p_lock` |
14 |
> do |
15 |
> rm "$file" |
16 |
> |
17 |
> done |
18 |
> |
19 |
Alternatively, to the best of my knowledge, that could be shortened down to: |
20 |
|
21 |
rm `find ~/.mozilla -name "*lock"` |