|
|
ru.unix- RU.UNIX ---------------------------------------------------------------------- From : Vlad 2:5005/61.3 29 Aug 2000 22:27:42 To : Oleg Derevenetz Subject : Как переименовать группу файлов? --------------------------------------------------------------------------------
29 Aug 00 15:12:32, Oleg Derevenetz писал послание Alexey Morozov:
[-= Моль покоцала =-]
AM>> нерабочие. Единственный разумный вариант, известный мне, включает такие
AM>> утилиты, как find (из-за -print0), xargs, readlink, awk и еще парочки.
AM>> В меньшее количество утилит просто не обойдешься. Даже если мы
AM>> ограничиваем
AM>> количество файлов в директории. Гы-гы.
[-= Моль покоцала =-]
есть такая маленькая программка - mmv - multifile mv
-========== Open PIPE [$ man mmv] ==========-
MMV(1) MMV(1)
[-= Моль покоцала =-]
mmv - move/copy/append/link multiple files by wildcard
patterns
SYNOPSIS
mmv [-m|x|r|c|o|a|l|s] [-h] [-d|p] [-g|t] [-v|n] [from to]
DESCRIPTION
Mmv moves (or copies, appends, or links, as specified)
each source file matching a from pattern to the target
name specified by the to pattern. This multiple action is
performed safely, i.e. without any unexpected deletion of
files due to collisions of target names with existing
filenames or with other target names. Furthermore, before
doing anything, mmv attempts to detect any errors that
would result from the entire set of actions specified and
gives the user the choice of either proceeding by avoiding
the offending parts or aborting.
The Task Options
[-= Моль покоцала =-]
-========== Close PIPE [$ man mmv] ==========-
Vladimir Shushpanov (shushpanov@npi.tpu.ru) [ Linux rulezz ]
Hадо смотреть не глазами, а подбородок поворачивать.
--- Binkd + QDed beta-1.4-990224 on Linux RedHat 6.2 + XFree-4.0
* Origin: Linux RULEZZ FOREVER :) (2:5005/61.3)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix/274139abcc59.html, оценка из 5, голосов 10
|