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 

Single Post  Topic: Надо найти 40 файлов и удалить! 
Author Message
Bishop



PostPosted: Thu Apr 23, 2009 20:04    Post subject: Reply with quote

gegabit,

Скрипты для PowerShell.

Получение файлов, которые есть в списке, но нет на диске:
Code:
gc list | ? {-not (test-path $_)}

Получение файлов, которых нет в списке, а есть на диске:
Code:
$list = gc list
dir \\server\share | ? {$list -notcontains $_.fullname}
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group