Wrong practice with web developers 7z params to correct storage of applications

Wrong practice with web developers 7z params to correct storage of applications

By medeb | personalblog | 5 Jul 2023


Hello,

If you are a web or Android developer you may discover that uploading your work to google drive costs a lot of space.

node_modules:

This is for example a folder that we do not need either react js or node js or view js application.

This folder needs to be excluded from the compress.

react native android ios:

These two folders android and ios takes a lot of memory then needs to be excluded.

Add to archive:

f10d939a0ba510fac13f3c282b96846b0894976257aa0a74ecbfc6aefd84c4ac.png

Writing -xr!android -xr!ios -xr!node_modules doesn't have any effect and will compress everything.

You should write this on the terminal.

android folder could be helpful for example ./gradlew assembleDebug to avoid this error of com.facebook.react not found when creating your react native application.

ios folder is for mac os users or if you are running virtual machine of x code for ios.

If you are preparing your PFE so for example the react native project will cost 500 Megabytes per save and the real size doesn't exceed 1 Megabytes while storing images or text or videos and folders you need to save.

If for example unfortenally your machine is unavailable for demonstration then thanks to adb devices and attaching your device with USB or for example with Wifi will solve the problem as your run on your phone.

For frontend users after download you do npm install and everything is fine.

 

 

 

How do you rate this article?

1



personalblog
personalblog

My daily experience in crypto world

Publish0x

Send a $0.01 microtip in crypto to the author, and earn yourself as you read!

20% to author / 80% to me.
We pay the tips from our rewards pool.