wok-current view slitaz-loram/stuff/loram.extract @ rev 370

Slitaz-loram*: more flexible
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 08 11:30:12 2008 +0000 (2008-03-08)
parents
children 5b4e22afe799
line source
1 cromfs=".usr.cromfs"
2 rmdir usr
3 bin/unmkcromfs $cromfs usr
4 rm -f $cromfs
5 ( cd usr/.moved ; find * -print ) | \
6 while read file; do
7 [ -L "$file" ] || continue
8 rm -f "$file"
9 mv "usr/.moved/$file" "$file"
10 done
11 rm -rf usr/.moved