Copy.com agent latest version script

This section is designed for your 'porteus build scripts' which create Porteus modules for your favorite applications. Scripts should work like the well-known 'SlackBuilds' with minimum user interaction.
User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Copy.com agent latest version script

Post#1 by brokenman » 26 Oct 2013, 21:27

Copy this text into a text file and save it. Make sure you are connected to the net. Run the script: sh /path/to/my/file.sh

The final porteus module will be created in /tmp. This will create the latest version available. The script will create a module relevant to your architecture (32 or 64 bit)

#!/bin/bash

# Script to build the copy agent for copy.com on Porteus linux

link=https://copy.com/install/linux/Copy.tgz
uname -m|grep 64 && arch=x86_64 || arch=x86

cd /tmp
mkdir -p /tmp/copybuild/{usr/share/applications,usr/local/bin,usr/share/pixmaps}
echo "Downloading source ..."
if [ ! -f Copy.tgz ]; then wget --no-check-certificate $link; fi
wget --no-check-certificate --trust-server-names https://dl.dropboxusercontent.com/u/686 ... ycrane.png -P /tmp/copybuild/usr/share/pixmaps/
echo "Unpacking source ..."
tar xf Copy.tgz
echo "Copying source files"
cp -a copy/$arch/* /tmp/copybuild/usr/local/bin/
cat >> /tmp/copybuild/usr/share/applications/copyagent.desktop << EOF
[Desktop Entry]
Name=copy.comagent
Comment=Agent to sync with copy.com storage
Exec=/usr/local/bin/CopyAgent
Terminal=false
Icon=/usr/share/pixmaps/copycrane.png
Type=Application
Categories=System;Desktop;
Version=1.0
EOF
echo
echo "Creating final module ..."
dir2xzm /tmp/copybuild /tmp/copy-agent.xzm
How do i become super user?
Wear your underpants on the outside and put on a cape.

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: Copy.com agent latest version script

Post#2 by jimwg » 17 Dec 2013, 20:52

Seasons Greetings!

What does this do for Copy in your system? I already have Copy in mine.
Thanks,

Newbie Jim in NYC

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Copy.com agent latest version script

Post#3 by brokenman » 17 Dec 2013, 21:48

It builds the copy agent for copy.com. In other words it gives you a nice GUI to copy stuff to your account at copy.com storage.
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
mocabilly
White ninja
White ninja
Posts: 21
Joined: 12 Jan 2011, 17:53
Distribution: Mint-Porteus
Location: Belgium

UPDATE on Copy.com

Post#4 by mocabilly » 30 Oct 2016, 09:08

oct. 30 2016 - From https://www.copy.com:
"Copy was discontinued on May 1, 2016."

On copy.com one suggests "Notion"
https://notion.ai/

From their "about" section (website):
"Digital communication today is cumbersome, inefficient, and its growing demands are overwhelming us all.
In 2013, we started Notion AI, Inc. and decided to do something about it."
There are only 10 kind of people in this world, those who can read binary and those who can't.

Post Reply