Files renaming
Björn Eriksson
bjorn at bjornen.nu
Wed Jun 5 14:23:11 UTC 2002
On Wed, Jun 05, 2002 at 01:59:46PM +0400, Dmitry Semyonov wrote:
> There is a possibility to prepend or to postfix some string to the
> names of several files: tag files, use F5 to rename, type eg. 'my_*' to
> prepend 'my_' prefix to all tagged files.
>
> Is there any way to _strip_ (common) part of names of group of files?
Yes, press F1 and read:
Two examples:
If the source mask is "*.tar.gz", the destination is
"/bla/*.tgz" and the file to be copied is "foo.tar.gz",
the copy will be "foo.tgz" in "/bla".
Let's suppose you want to swap basename and extension so
that "file.c" will become "c.file" and so on. The source
mask for this is "*.*" and the destination is "\2.\1".
--
//Björnen, bjorn @ bjornen . nu | http://bjornen.nu | |_).._. _ _ _ _ \\
( GPG: 3F1E41C8 5229D5F6 5D8E0149 659CDF06 8320510D | |_)|(_)| | )(-| ) )
\\ Mutt+Vim+..[No list CC:s please]..+GPG+GNU/Linux | / //
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20020605/2ea26adb/attachment.asc>
More information about the mc
mailing list