Search Results

Search: Posts Made By: farneville
4,566
Posted By rdcwayx
Not tested. find . -name "*.rar" |while...
Not tested.

find . -name "*.rar" |while read LINE
do
folder=${LINE%%.*}
mkdir -p $folder
mv $LINE $folder
done

PWD=$(pwd)

ls -l |grep ^d |awk '{print $NF} |while read LINE
do
...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy