Thread
:
Shell script to change folder directory owner after restore
View Single Post
#
5
(
permalink
)
01-23-2007, 07:56 AM
nixcraft
Never say die
User
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
Rep Power:
10
Is this a Linux box? Just count output using ls -l and select correct col $8 is for dir. Try $9 and run script again
__________________
Vivek
|
My personal blog
Linux Evangelist
Play hard stay cool
nixcraft
View Public Profile
Send a private message to nixcraft
Visit nixcraft's homepage!
Find all posts by nixcraft