[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: Making copies of files
From :
Marco Ippolito
Subject :
Re: Making copies of files
Date :
Wed, 31 Mar 2021 15:08:25 -0300
> Would the following suffice?
>
> #!/bin/bash
>
> find . -type f -name '*.htm' -print0 | while IFS= read -r -d '' f; do
> cp -- "$f" "${f%.*}.org"
> done
Do you need an actual copy or would a hard link do it, as you are doing this in
the same directory and thus on the same filesystem?
Making copies of files , michael-franzese , 2021/03/31
Re: Making copies of files , Lawrence Velázquez , 2021/03/31
Re: Making copies of files , michael-franzese , 2021/03/31
Re: Making copies of files ,
Marco Ippolito <=
Re: Making copies of files , michael-franzese , 2021/03/31
Re: Making copies of files , Greg Wooledge , 2021/03/31
Re: Making copies of files , michael-franzese , 2021/03/31
Re: Making copies of files , michael-franzese , 2021/03/31
Re: Making copies of files , Lawrence Velázquez , 2021/03/31
Re: Making copies of files , michael-franzese , 2021/03/31
Re: Making copies of files , michael-franzese , 2021/03/31
Re: Making copies of files , Lawrence Velázquez , 2021/03/31
Re: Making copies of files , michael-franzese , 2021/03/31
Re: Making copies of files , Lawrence Velázquez , 2021/03/31