Hi freegianghu,
Tks for your script.
Quote:
To delete all extracted directories, run script like:
Code:
for input in `ls` ; do
if [ -d $input ]; then
echo "Removing $input" && rm -rf $input
fi
done
|
I suppose it is a bash script. The script will look like
Code:
#!/bin/bash
for input in `ls` ; do
if [ -d $input ]; then
echo "Removing $input" && rm -rf $input
fi
done
and save it to
/mnt/lfs/home/abc.sh
Not on the Host FC3.
Then
chmod +x abc.sh
Leave all package-tarballs and patches in $LFS/sources. If I'm wrong please correct me.
TIA
B.R.
satimis