Created
          November 2, 2017 10:45 
        
      - 
      
- 
        Save morsvox/3905463910b41f8629c1951ff8bf92ba to your computer and use it in GitHub Desktop. 
    bash script for bitrix optim
  
        
  
    
      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
    
  
  
    
  | #!/bin/sh | |
| cd $HOME/public_html/local/templates/oknapolis | |
| gulp | |
| echo "upload optimize" | |
| cd $HOME/public_html/upload/ | |
| find -type f -iname "*.jpg" -exec jpegoptim --strip-all --all-progressive -pm85 {} \; | |
| echo "build optimize" | |
| cd $HOME/public_html/local/templates/oknapolis/build/images/ | |
| find -type f -iname "*.jpg" -exec jpegoptim --strip-all --all-progressive -pm85 {} \; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Uh oh!
There was an error while loading. Please reload this page.