AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
NAV
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 06.03.2024, 22:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
a33ik: Copy PackagesLocalDirectory files
Источник: http://daxonline.org/1943-copy-packa...ory-files.html
==============

# Command line
# Copy XML files and retain the folder structure
xcopy K:\AosService\PackagesLocalDirectory\*.xml k:\CopyObjects /sy# Copy XML files and retain the folder structure. Excluding unnecessary files

xcopy K:\AosService\PackagesLocalDirectory\*.xml k:\CopyObjects /sy /exclude:exclude.txt
# exclude.txt:

\XppMetadata\
\bin\
\Descriptor\
Adaptor\



# Copy en-US label files to a single folder
for /R K:\AosService\PackagesLocalDirectory\ %f in (*.en-US.label.txt) do copy %f k:\CopyObjects2\
# Copy en-US label files, retaining folder structure
xcopy K:\AosService\PackagesLocalDirectory\*.en-US.label.txt k:\CopyObjects /sy# Power shell
# Copy en-US label files to a single folder

Get-ChildItem -Path "K:\AosService\PackagesLocalDirectory\*" -Include *.en-US.label.txt -Recurse | Copy-Item -Destination k:\CopyObjects\labels\

Then using your favorite file manager you can search within file contents, which should be faster than using standard label search or metadata search with code:"code string to find"
Explorer can search in the file content, just type following in the search text box: content:"code string to find"


Источник: http://daxonline.org/1943-copy-packa...ory-files.html
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
atinkerersnotebook: Configuring a BYODB and Creating a Full and Incremental Entity Export Blog bot DAX Blogs 0 25.05.2018 15:11
dennis365foroperations: Yes, it’s here! The Copy configurations feature (and a look at other improvements related to Data Management) Blog bot DAX Blogs 0 12.10.2017 16:11
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2013 R2 Blog bot NAV: Blogs 0 15.05.2016 18:12
german_nav_developer: Buildnummern-Übersicht Microsoft Dynamics NAV 2013 Blog bot NAV: Blogs 0 15.05.2016 18:12
Gareth Tucker: Scribe Insight and Microsoft CRM 2011 Blog bot Dynamics CRM: Blogs 0 06.05.2012 02:18

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 16:49.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.