[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#706014: ITP: re-name -- mass rename tool using regular expression



[Joao Eriberto Mota Filho]
>  Re-name [...] is a small and quick tool written in C so it's quicker
>  than most rename tools written in shell scripts.

[citation needed]

I'm suspicious of this claim for two reasons.

- The obvious tool to compare with is 'prename' (mentioned up-thread),
  which we already ship, and that's not shell but Perl.  In terms of
  efficiency, this may be quite significant, as it uses the rename()
  system call, whereas a shell implementation would have to fork 'mv'
  for each file.

- In my experience and belief, the efficiency of a mass rename
  operation is dominated by the filesystem overhead.


Reply to: