Created
November 7, 2018 08:37
-
-
Save curder/c0f07d308cec8668d79b98b15eb34f74 to your computer and use it in GitHub Desktop.
获取Laravel项目SASS文件中的图片,主要用于数据的拷贝
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -Eo '(\w+-\w+|\w+)\.png|(\w+-\w+|\w+).jpg' /path/resources/sass/index.scss > /tmp/images.txt | |
cp `cat /tmp/images.txt` /path/resources/assets/images/. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment