Re: Feature request for cp

2023-07-12 Thread Pádraig Brady
On 11/07/2023 17:08, Pádraig Brady wrote: On 11/07/2023 15:29, Tommy Bollman wrote: Hello guys. Feature request. I have made a little command line cp utility *nrcp*, that basically takes a file name as an argument and appends an ascending number at the end of it. The intention is to be abl

Re: Feature request for cp

2023-07-11 Thread Pádraig Brady
On 11/07/2023 15:29, Tommy Bollman wrote: Hello guys. Feature request. I have made a little command line cp utility *nrcp*, that basically takes a file name as an argument and appends an ascending number at the end of it. The intention is to be able to keep backups for back tracking during e

Re: Feature request for cp

2023-07-11 Thread Dragan Simic
On 2023-07-11 16:29, Tommy Bollman wrote: Hello guys. Feature request. I have made a little command line cp utility *nrcp*, that basically takes a file name as an argument and appends an ascending number at the end of it. The intention is to be able to keep backups for back tracking during

Re: Feature Request for cp(1) utility, consider Btrfs ioctl clone range support

2011-08-19 Thread Jeff liu
btw, I have posted a patch to make cp --reflink option works for OCFS2 too, http://lists.gnu.org/archive/html/coreutils/2011-05/msg00017.html Is it acceptable? Thanks, -Jeff > Hi Pádraig, > > Thanks for your comments! > >> On 08/10/2011 10:31 AM, Jeff Liu wrote: >>> Hello, >>> >>> I just fou

Re: Feature Request for cp(1) utility, consider Btrfs ioctl clone range support

2011-08-19 Thread Jeff liu
Hi Pádraig, Thanks for your comments! > On 08/10/2011 10:31 AM, Jeff Liu wrote: >> Hello, >> >> I just found a cool feature in Btrfs for cloning partially source file >> to the destination by specifying the desired offset and length to be copied. >> >> The call interface is something like below

Re: Feature Request for cp(1) utility, consider Btrfs ioctl clone range support

2011-08-19 Thread Jim Meyering
Pádraig Brady wrote: > On 08/10/2011 10:31 AM, Jeff Liu wrote: >> Hello, >> >> I just found a cool feature in Btrfs for cloning partially source file >> to the destination by specifying the desired offset and length to be copied. >> >> The call interface is something like below: >> struct btrfs_clo

Re: Feature Request for cp(1) utility, consider Btrfs ioctl clone range support

2011-08-19 Thread Pádraig Brady
On 08/10/2011 10:31 AM, Jeff Liu wrote: > Hello, > > I just found a cool feature in Btrfs for cloning partially source file > to the destination by specifying the desired offset and length to be copied. > > The call interface is something like below: > struct btrfs_clone_range_args cr; > cr.src_f