You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Compress function with pigz for faster compression
com ()
{
tar --use-compress-program="pigz -k -$2 " -cf $1.tar.gz ccache
}
time com ccache 1 # Compression level 1, its enough
up(){
curl --upload-file $1 https://transfer.sh/
}
up ccache.tar.gz
# mkdir -p ~/.config/rclone
# echo "$rclone_config" > ~/.config/rclone/rclone.conf # Write rclone config found from env variable, so that cloud storage can be used to upload ccache
# time rclone copy ccache2.tar.gz gdrive:/ccache/ -P # apon is my rclone config name, ccache/ci2 is where ccache will be saved in my cloud, use yours one