Search Results

Search: Posts Made By: get_chandrakant
9,534
Posted By anbu23
for i in * do [ -d "$i" -a "$i" != "A" -a...
for i in *
do
[ -d "$i" -a "$i" != "A" -a "$i" != "B" ] && dir_lst=${dir_lst}" "${i}
done

dir_lst="tar -cf new.tar ${dir_lst}"
echo ${dir_lst}" | sh
Showing results 1 to 1 of 1

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