[Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

Manuel Quiñones manuq at laptop.org
Thu Oct 3 09:13:51 EDT 2013


2013/10/3 laurent bernabe <laurent.bernabe at gmail.com>:
> In fact, there should be better in order to save space :
> in dojo, I've noticed that each library is given in minified version and
> plain version. So I am trying to build a terminal command which will remove
> all "*.uncompressed.js" files.
> But for now, I am far from being a terminal guru ...
>
> I've tried with something like
> rm -Rf FILE_PATTERN
> but it is not it purpose (it is rather for removing a directory and its
> subdirectories), and fail.

find . -name '*.uncompressed.js' -exec ls {} \;

Change ls for rm if the lookup was good.

By the way you might want to keep the uncompressed JS source, and
remove the compressed ones.  We encourage "View Source".

-- 
.. manuq ..


More information about the Sugar-devel mailing list