sed doesn't remove files, though your command might produce a listing of the
files stripped of all mention of $file in /home/devicsil.


On Dec 15, 2007 9:45 AM, Mike Hammett <[EMAIL PROTECTED]> wrote:

> Would the following command remove ../../Templates/ from all files in the
> /home/devicsil/public_html/Templates directory?
>
>
>
> for file in ls /home/devicsil/public_html/Templates ; do
>
> sed -e 's/..\/..\/Templates\///g' "$file"
>
> echo ----------------------------------------------------------------
>
> done
>
>
>
> -----
> Mike Hammett
> Intelligent Computing Solutions
> http://www.ics-il.com
>
>
>
>
> --------------------------------------------------------------------------------
> WISPA Wants You! Join today!
> http://signup.wispa.org/
>
> --------------------------------------------------------------------------------
>
> WISPA Wireless List: wireless@wispa.org
>
> Subscribe/Unsubscribe:
> http://lists.wispa.org/mailman/listinfo/wireless
>
> Archives: http://lists.wispa.org/pipermail/wireless/
>



-- 
Dylan Oliver
Primaverity, LLC


--------------------------------------------------------------------------------
WISPA Wants You! Join today!
http://signup.wispa.org/
--------------------------------------------------------------------------------
 
WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/

Reply via email to