Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Переименование файлов

 
Post new topic   Reply to topic    Total Commander Forum Index -> Общие вопросы printer-friendly view
View previous topic :: View next topic  
Author Message
MAz535



Joined: 28 Oct 2009
Posts: 5

Post (Separately) Posted: Wed Oct 28, 2009 22:05    Post subject: Переименование файлов Reply with quote

Есть группа файлов формата хххх yyyy.wmv. Подскажите пожайлуста как поменять местами слова в названии группы файлов, чтобы получилось yyy xxx.wmv? Спасибою
Back to top
View user's profile Send private message
Tol!k



Joined: 01 Apr 2008
Posts: 1727
Location: Арзамас

Post (Separately) Posted: Wed Oct 28, 2009 22:38    Post subject: Reply with quote

Уточни, из 9и символов в имени должно остаться 7 ?
Т.е. из abcd 1234.wmv должно получиться 123 abc.wmv ?
Back to top
View user's profile Send private message
Avada



Joined: 01 Aug 2008
Posts: 10415
Location: Россия, Саратов

Post (Separately) Posted: Wed Oct 28, 2009 22:40    Post subject: Reply with quote

MAz535
Почему в первом примере хххх yyyy.wmv (фрагменты имени с четырьмя символами), а во втором — yyy xxx.wmv (с тремя)? Это существенно или это случайная описка?
_________________
Даже самая богатая фантазия
Не представит себе наши безобразия.
Back to top
View user's profile Send private message
MAz535



Joined: 28 Oct 2009
Posts: 5

Post (Separately) Posted: Thu Oct 29, 2009 01:08    Post subject: Reply with quote

Нет просто ошибка первое слово файла 7 символов , второе по-разному
Back to top
View user's profile Send private message
MAz535



Joined: 28 Oct 2009
Posts: 5

Post (Separately) Posted: Thu Oct 29, 2009 01:11    Post subject: Reply with quote

т.е 20090120 best.wmv, 20081002 western.wmv и т.д.
Back to top
View user's profile Send private message
Tol!k



Joined: 01 Apr 2008
Posts: 1727
Location: Арзамас

Post (Separately) Posted: Thu Oct 29, 2009 01:27    Post subject: Reply with quote

MAz535 wrote:
первое слово файла 7 символов
MAz535 wrote:
20090120 best.wmv, 20081002 western.wmv
:)

Найти: (\d+) (.+)\.
Заменить: $2 $1.
[v] Рег.выраж.
Back to top
View user's profile Send private message
MAz535



Joined: 28 Oct 2009
Posts: 5

Post (Separately) Posted: Thu Oct 29, 2009 14:49    Post subject: Reply with quote

Простите за тупость, а как этим воспользоваться?
Back to top
View user's profile Send private message
Tol!k



Joined: 01 Apr 2008
Posts: 1727
Location: Арзамас

Post (Separately) Posted: Thu Oct 29, 2009 18:16    Post subject: Reply with quote

Выделить файлы, нажать Ctrl+M,
затем сделать как на скрине
Back to top
View user's profile Send private message
MAz535



Joined: 28 Oct 2009
Posts: 5

Post (Separately) Posted: Thu Oct 29, 2009 19:01    Post subject: Reply with quote

Спасибо огромное!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Общие вопросы All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group