Search Results

Search: Posts Made By: umesh.narain
Forum: AIX 12-22-2012
9,123
Posted By Yoda
Assuming all your file names are more than 2 char...
Assuming all your file names are more than 2 char length:
#!/bin/ksh

printf "%s\n" .* | while read h_file # Reading all hidden file names
do
r_file=$( echo "$h_file"...
Forum: AIX 12-22-2012
9,123
Posted By Don Cragun
Try: #!/bin/ksh for i in .[^.]* do ...
Try:

#!/bin/ksh
for i in .[^.]*
do
echo mv "$i" "${i#.}"
done

I use the Korn shell. You can use any POSIX conforming shell by changing /bin/ksh in #!/bin/ksh to the pathname of...
Showing results 1 to 2 of 2

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