久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <tfoot id='2MaaW'></tfoot>

    1. <legend id='2MaaW'><style id='2MaaW'><dir id='2MaaW'><q id='2MaaW'></q></dir></style></legend>
      • <bdo id='2MaaW'></bdo><ul id='2MaaW'></ul>
      <i id='2MaaW'><tr id='2MaaW'><dt id='2MaaW'><q id='2MaaW'><span id='2MaaW'><b id='2MaaW'><form id='2MaaW'><ins id='2MaaW'></ins><ul id='2MaaW'></ul><sub id='2MaaW'></sub></form><legend id='2MaaW'></legend><bdo id='2MaaW'><pre id='2MaaW'><center id='2MaaW'></center></pre></bdo></b><th id='2MaaW'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='2MaaW'><tfoot id='2MaaW'></tfoot><dl id='2MaaW'><fieldset id='2MaaW'></fieldset></dl></div>

        <small id='2MaaW'></small><noframes id='2MaaW'>

        Gulp - 處理目標(biāo)文件的只讀權(quán)限?

        Gulp - Handle read-only permissions for dest files?(Gulp - 處理目標(biāo)文件的只讀權(quán)限?)

        <small id='AAuLU'></small><noframes id='AAuLU'>

      1. <tfoot id='AAuLU'></tfoot>

      2. <i id='AAuLU'><tr id='AAuLU'><dt id='AAuLU'><q id='AAuLU'><span id='AAuLU'><b id='AAuLU'><form id='AAuLU'><ins id='AAuLU'></ins><ul id='AAuLU'></ul><sub id='AAuLU'></sub></form><legend id='AAuLU'></legend><bdo id='AAuLU'><pre id='AAuLU'><center id='AAuLU'></center></pre></bdo></b><th id='AAuLU'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AAuLU'><tfoot id='AAuLU'></tfoot><dl id='AAuLU'><fieldset id='AAuLU'></fieldset></dl></div>
          • <bdo id='AAuLU'></bdo><ul id='AAuLU'></ul>

              <legend id='AAuLU'><style id='AAuLU'><dir id='AAuLU'><q id='AAuLU'></q></dir></style></legend>
                  <tbody id='AAuLU'></tbody>
                1. 本文介紹了Gulp - 處理目標(biāo)文件的只讀權(quán)限?的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時(shí)送ChatGPT賬號(hào)..

                  我在源文件夾中設(shè)置了 read-only 屬性的圖像文件.在大多數(shù)情況下,我需要在 gulpfile.js 中多次將它們復(fù)制到目標(biāo)文件夾.

                  I have image files with read-only attribute set in source folder. I need to copy them to destination folder in most cases several times in gulpfile.js.

                  我正在嘗試像這樣復(fù)制 src-to-dest 文件:

                  I am trying to copy src-to-dest files like this:

                  gulp.task('copy-images', function () {
                    gulp.src(path_resource_images + '**/*.jpg')
                      .pipe(gulp.dest(path_app_images));
                  });
                  

                  當(dāng) dest 文件夾為空時(shí),它會(huì)工作一次.但是對(duì)于接下來的所有調(diào)用,我都有一個(gè)例外,即文件在 dest 文件夾中是 read-only .如何刪除文件屬性 read-only 以使 image-copy 每次調(diào)用時(shí)都能正常工作?

                  It works once when the dest folder in empty. But for all next calls I've got an exception that file is read-only in dest folder. How can I remove file attr read-only to make image-copy works every time I call it?

                  推薦答案

                  你可以使用 gulp-chmod 處理文件的權(quán)限.

                  You can use gulp-chmod to handle permissions on your files.

                  因此,如果您想為所有人設(shè)置 可讀writable 圖像,您可以使用以下內(nèi)容:

                  So if you want to set your images readable and writable for everybody, you could go with something like:

                  var chmod = require('gulp-chmod');
                  
                  gulp.task('copy-images', function() {
                    gulp.src(path_resource_images + '**/*.jpg')
                      .pipe(chmod(666))
                      .pipe(gulp.dest(path_app_images));
                  });
                  

                  這篇關(guān)于Gulp - 處理目標(biāo)文件的只讀權(quán)限?的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運(yùn)算符上的意外令牌)
                  Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標(biāo)志傳遞給 Gulp 以使其以不同的方式運(yùn)行任務(wù)?)
                  Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                  How to run Gulp tasks sequentially one after the other(如何一個(gè)接一個(gè)地依次運(yùn)行 Gulp 任務(wù))
                  Stylesheet not loaded because of MIME-type(由于 MIME 類型而未加載樣式表)
                  Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時(shí) Visual Studio 2015 崩潰)

                  <tfoot id='Q9LVT'></tfoot>
                    <bdo id='Q9LVT'></bdo><ul id='Q9LVT'></ul>

                    • <i id='Q9LVT'><tr id='Q9LVT'><dt id='Q9LVT'><q id='Q9LVT'><span id='Q9LVT'><b id='Q9LVT'><form id='Q9LVT'><ins id='Q9LVT'></ins><ul id='Q9LVT'></ul><sub id='Q9LVT'></sub></form><legend id='Q9LVT'></legend><bdo id='Q9LVT'><pre id='Q9LVT'><center id='Q9LVT'></center></pre></bdo></b><th id='Q9LVT'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Q9LVT'><tfoot id='Q9LVT'></tfoot><dl id='Q9LVT'><fieldset id='Q9LVT'></fieldset></dl></div>
                        <legend id='Q9LVT'><style id='Q9LVT'><dir id='Q9LVT'><q id='Q9LVT'></q></dir></style></legend>

                            <tbody id='Q9LVT'></tbody>

                            <small id='Q9LVT'></small><noframes id='Q9LVT'>

                            主站蜘蛛池模板: 黄色一级视频网站 | 日韩一区二区中文字幕 | 又色又爽又黄gif动态图 | 男女啪啪免费网站 | 国产又粗又猛视频免费 | 国产精品手机在线 | 久久综合热 | 亚洲免费视频网站 | www.色日本| 色哟哟一区二区三区 | 新av在线 | 日韩一区二区在线视频 | 四虎久久| 日本一级淫片色费放 | 久操视频在线观看 | 在线免费黄色网址 | 欧美黄色一级大片 | 伊人成人在线 | 国产精品成人免费精品自在线观看 | 九色av | 青青青草视频在线观看 | 精品一区二区三区免费看 | 日韩色网站 | 福利片在线观看 | 日韩精品片 | 日韩有码在线视频 | 日本三级香港三级 | 五月天婷婷影院 | 国产一级片视频 | 国产欧美精品一区二区色综合 | 黄色成人av | 五月天婷婷激情网 | 黄色伊人 | 国产美女91呻吟求 | 亚洲一区国产 | eeuss一区二区 | 国产日本在线观看 | 黄色在线免费网站 | 中国一级黄色录像 | a免费视频 | 国产精品日韩精品 |