Devel Tokens

Click a token to insert it into the field you've last clicked.
Token Value
[node:author] seedadmin
[node:author:account-name] seedadmin
[node:author:created] Tue, 11/26/2019 - 22:22
[node:author:created:fallback] Tue, 11/26/2019 - 22:22
[node:author:created:foldershare_date_time] 11/26/19 10:22 PM
[node:author:created:html_date] 2019-11-26
[node:author:created:html_datetime] 2019-11-26T22:22:25-0800
[node:author:created:html_month] 2019-11
[node:author:created:html_time] 22:22:25
[node:author:created:html_week] 2019-W48
[node:author:created:html_year] 2019
[node:author:created:html_yearless_date] 11-26
[node:author:created:long] Tuesday, November 26, 2019 - 22:22
[node:author:created:medium] Tue, 11/26/2019 - 22:22
[node:author:created:raw] 1574835745
[node:author:created:short] 11/26/2019 - 22:22
[node:author:created:since] 1 year 9 months
[node:author:name] seedadmin
[node:author:display-name] seedadmin
[node:author:edit-url] http://seedmelab.cushion3.sdsc.edu/user/1/edit
[node:author:mail] amit@sdsc.edu
[node:author:last-login] Thu, 08/12/2021 - 12:03
[node:author:last-login:fallback] Thu, 08/12/2021 - 12:03
[node:author:last-login:foldershare_date_time] 8/12/21 12:03 PM
[node:author:last-login:html_date] 2021-08-12
[node:author:last-login:html_datetime] 2021-08-12T12:03:15-0700
[node:author:last-login:html_month] 2021-08
[node:author:last-login:html_time] 12:03:15
[node:author:last-login:html_week] 2021-W32
[node:author:last-login:html_year] 2021
[node:author:last-login:html_yearless_date] 08-12
[node:author:last-login:long] Thursday, August 12, 2021 - 12:03
[node:author:last-login:medium] Thu, 08/12/2021 - 12:03
[node:author:last-login:raw] 1628794995
[node:author:last-login:short] 08/12/2021 - 12:03
[node:author:last-login:since] 2 weeks 5 days
[node:author:roles] authenticated, data_manager, administrator
[node:author:roles:count] 3
[node:author:roles:first] authenticated
[node:author:roles:keys] authenticated, data_manager, administrator
[node:author:roles:keys:count] 3
[node:author:roles:keys:first] authenticated
[node:author:roles:keys:last] administrator
[node:author:roles:keys:reversed] administrator, data_manager, authenticated
[node:author:roles:last] administrator
[node:author:roles:reversed] administrator, data_manager, authenticated
[node:author:roles:reversed:count] 3
[node:author:roles:reversed:first] administrator
[node:author:roles:reversed:keys] administrator, data_manager, authenticated
[node:author:roles:reversed:last] authenticated
[node:author:url] http://seedmelab.cushion3.sdsc.edu/user/1
[node:author:url:absolute] http://seedmelab.cushion3.sdsc.edu/user/1
[node:author:url:args] , user, 1
[node:author:url:args:count] 2
[node:author:url:args:first] user
[node:author:url:args:keys] 0, 1
[node:author:url:args:last] 1
[node:author:url:args:reversed] 1, user
[node:author:url:brief] seedmelab.cushion3.sdsc.edu/user/1
[node:author:url:path] /user/1
[node:author:url:relative] /user/1
[node:author:url:unaliased] http://seedmelab.cushion3.sdsc.edu/user/1
[node:author:url:unaliased:absolute] http://seedmelab.cushion3.sdsc.edu/user/1
[node:author:url:unaliased:args] , user, 1
[node:author:url:unaliased:brief] seedmelab.cushion3.sdsc.edu/user/1
[node:author:url:unaliased:path] /user/1
[node:author:url:unaliased:relative] /user/1
[node:author:uid] 1
[node:body]

The FolderShare command line client requires PHP with curl,  json & mbstring extensions. Check if your system already has PHP7 installed (Recent versions of Linux & Mac OS already have PHP7 installed).

# On terminal issue the following command
php -v


If PHP is not available use one of the following two methods to install php7 on your system


1. Building minimal PHP from source on linux

Download latest PHP7.x then unzip and build as follows 

# Fetch php7.2.10 source
curl -o php-7.2.10.tar.gz -L http://php.net/get/php-7.2.10.tar.gz/from/this/mirror

# untar php source
tar xzf php-7.2.10.tar.gz

cd php-7.2.10

# Configure php for minimal build that we need for the FolderShare client
# Optionally add --prefix=/path/to/install
./configure --disable-all --enable-cli --enable-mbstring --with-curl  --disable-cgi --enable-json --enable-filter --with-readline

# build
make
# make install #if you added prefix

# Add environment path to find php
export PATH=`pwd`/sapi/cli:$PATH" #change this path if you added prefix

# Check if php is now in environment path
php -v

# Consider adding the php path in your shell profile (e.g. basic)

2. Install PHP with root privileges

apt-get install php7-cli php7-curl php7-mbstring php7-cli
[node:book]
[node:comment-count] 0
[node:comment]
[node:comment:status] 1
[node:comment:last_comment_timestamp] 1552321864
[node:comment:last_comment_uid] 1
[node:nid] 2
[node:content-type] Article
[node:content-type:description] Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.
[node:content-type:edit-url] http://seedmelab.cushion3.sdsc.edu/admin/structure/types/manage/article
[node:content-type:machine-name] article
[node:content-type:name] Article
[node:content-type:node-count] 1
[node:changed] Tue, 06/09/2020 - 01:41
[node:changed:fallback] Tue, 06/09/2020 - 01:41
[node:changed:foldershare_date_time] 6/9/20 1:41 AM
[node:changed:html_date] 2020-06-09
[node:changed:html_datetime] 2020-06-09T01:41:36-0700
[node:changed:html_month] 2020-06
[node:changed:html_time] 01:41:36
[node:changed:html_week] 2020-W24
[node:changed:html_year] 2020
[node:changed:html_yearless_date] 06-09
[node:changed:long] Tuesday, June 9, 2020 - 01:41
[node:changed:medium] Tue, 06/09/2020 - 01:41
[node:changed:raw] 1591692096
[node:changed:short] 06/09/2020 - 01:41
[node:changed:since] 1 year 2 months
[node:created] Wed, 02/27/2019 - 12:14
[node:created:fallback] Wed, 02/27/2019 - 12:14
[node:created:foldershare_date_time] 2/27/19 12:14 PM
[node:created:html_date] 2019-02-27
[node:created:html_datetime] 2019-02-27T12:14:38-0800
[node:created:html_month] 2019-02
[node:created:html_time] 12:14:38
[node:created:html_week] 2019-W09
[node:created:html_year] 2019
[node:created:html_yearless_date] 02-27
[node:created:long] Wednesday, February 27, 2019 - 12:14
[node:created:medium] Wed, 02/27/2019 - 12:14
[node:created:raw] 1551298478
[node:created:short] 02/27/2019 - 12:14
[node:created:since] 2 years 6 months
[node:edit-url] http://seedmelab.cushion3.sdsc.edu/node/2/edit
[node:field_image]
[node:langcode] en
[node:comment-count-new]
[node:original]
[node:vid] 617
[node:log]
[node:summary] <h3>The FolderShare command line client requires PHP with curl,  json &amp; mbstring extensions. Check if your system already has PHP7 installed (Recent versions of Linux &amp; Mac OS already have PHP7 installed).</h3> <pre> # On terminal issue the following command php -v </pre> <p><br /> If PHP is not available use one of the following two methods to install php7 on your system</p> <hr /> <h3><strong>1. Building minimal PHP from source on linux</strong></h3> <p>Download latest <a href="http://php.net/downloads.php">PHP7.x</a> then unzip and build as follows </p>
[node:field_tags]
[node:title] PHP setup for command line usage
[node:source]
[node:source:author] seedadmin
[node:source:author:account-name] seedadmin
[node:source:author:created] Tue, 11/26/2019 - 22:22
[node:source:author:created:fallback] Tue, 11/26/2019 - 22:22
[node:source:author:created:foldershare_date_time] 11/26/19 10:22 PM
[node:source:author:created:html_date] 2019-11-26
[node:source:author:created:html_datetime] 2019-11-26T22:22:25-0800
[node:source:author:created:html_month] 2019-11
[node:source:author:created:html_time] 22:22:25
[node:source:author:created:html_week] 2019-W48
[node:source:author:created:html_year] 2019
[node:source:author:created:html_yearless_date] 11-26
[node:source:author:created:long] Tuesday, November 26, 2019 - 22:22
[node:source:author:created:medium] Tue, 11/26/2019 - 22:22
[node:source:author:created:raw] 1574835745
[node:source:author:created:short] 11/26/2019 - 22:22
[node:source:author:created:since] 1 year 9 months
[node:source:author:name] seedadmin
[node:source:author:display-name] seedadmin
[node:source:author:edit-url] http://seedmelab.cushion3.sdsc.edu/user/1/edit
[node:source:author:mail] amit@sdsc.edu
[node:source:author:last-login] Thu, 08/12/2021 - 12:03
[node:source:author:last-login:fallback] Thu, 08/12/2021 - 12:03
[node:source:author:last-login:foldershare_date_time] 8/12/21 12:03 PM
[node:source:author:last-login:html_date] 2021-08-12
[node:source:author:last-login:html_datetime] 2021-08-12T12:03:15-0700
[node:source:author:last-login:html_month] 2021-08
[node:source:author:last-login:html_time] 12:03:15
[node:source:author:last-login:html_week] 2021-W32
[node:source:author:last-login:html_year] 2021
[node:source:author:last-login:html_yearless_date] 08-12
[node:source:author:last-login:long] Thursday, August 12, 2021 - 12:03
[node:source:author:last-login:medium] Thu, 08/12/2021 - 12:03
[node:source:author:last-login:raw] 1628794995
[node:source:author:last-login:short] 08/12/2021 - 12:03
[node:source:author:last-login:since] 2 weeks 5 days
[node:source:author:roles] authenticated, data_manager, administrator
[node:source:author:roles:count] 3
[node:source:author:roles:first] authenticated
[node:source:author:roles:keys] authenticated, data_manager, administrator
[node:source:author:roles:last] administrator
[node:source:author:roles:reversed] administrator, data_manager, authenticated
[node:source:author:url] http://seedmelab.cushion3.sdsc.edu/user/1
[node:source:author:url:absolute] http://seedmelab.cushion3.sdsc.edu/user/1
[node:source:author:url:args] , user, 1
[node:source:author:url:brief] seedmelab.cushion3.sdsc.edu/user/1
[node:source:author:url:path] /user/1
[node:source:author:url:relative] /user/1
[node:source:author:url:unaliased] http://seedmelab.cushion3.sdsc.edu/user/1
[node:source:author:uid] 1
[node:source:body]

The FolderShare command line client requires PHP with curl,  json & mbstring extensions. Check if your system already has PHP7 installed (Recent versions of Linux & Mac OS already have PHP7 installed).

# On terminal issue the following command
php -v


If PHP is not available use one of the following two methods to install php7 on your system


1. Building minimal PHP from source on linux

Download latest PHP7.x then unzip and build as follows 

# Fetch php7.2.10 source
curl -o php-7.2.10.tar.gz -L http://php.net/get/php-7.2.10.tar.gz/from/this/mirror

# untar php source
tar xzf php-7.2.10.tar.gz

cd php-7.2.10

# Configure php for minimal build that we need for the FolderShare client
# Optionally add --prefix=/path/to/install
./configure --disable-all --enable-cli --enable-mbstring --with-curl  --disable-cgi --enable-json --enable-filter --with-readline

# build
make
# make install #if you added prefix

# Add environment path to find php
export PATH=`pwd`/sapi/cli:$PATH" #change this path if you added prefix

# Check if php is now in environment path
php -v

# Consider adding the php path in your shell profile (e.g. basic)

2. Install PHP with root privileges

apt-get install php7-cli php7-curl php7-mbstring php7-cli
[node:source:comment:status] 1
[node:source:comment:last_comment_timestamp] 1552321864
[node:source:comment:last_comment_uid] 1
[node:source:nid] 2
[node:source:content-type] Article
[node:source:content-type:description] Use <em>articles</em> for time-sensitive content like news, press releases or blog posts.
[node:source:content-type:edit-url] http://seedmelab.cushion3.sdsc.edu/admin/structure/types/manage/article
[node:source:content-type:machine-name] article
[node:source:content-type:name] Article
[node:source:content-type:node-count] 1
[node:source:changed] Tue, 06/09/2020 - 01:41
[node:source:changed:fallback] Tue, 06/09/2020 - 01:41
[node:source:changed:foldershare_date_time] 6/9/20 1:41 AM
[node:source:changed:html_date] 2020-06-09
[node:source:changed:html_datetime] 2020-06-09T01:41:36-0700
[node:source:changed:html_month] 2020-06
[node:source:changed:html_time] 01:41:36
[node:source:changed:html_week] 2020-W24
[node:source:changed:html_year] 2020
[node:source:changed:html_yearless_date] 06-09
[node:source:changed:long] Tuesday, June 9, 2020 - 01:41
[node:source:changed:medium] Tue, 06/09/2020 - 01:41
[node:source:changed:raw] 1591692096
[node:source:changed:short] 06/09/2020 - 01:41
[node:source:changed:since] 1 year 2 months
[node:source:created] Wed, 02/27/2019 - 12:14
[node:source:created:fallback] Wed, 02/27/2019 - 12:14
[node:source:created:foldershare_date_time] 2/27/19 12:14 PM
[node:source:created:html_date] 2019-02-27
[node:source:created:html_datetime] 2019-02-27T12:14:38-0800
[node:source:created:html_month] 2019-02
[node:source:created:html_time] 12:14:38
[node:source:created:html_week] 2019-W09
[node:source:created:html_year] 2019
[node:source:created:html_yearless_date] 02-27
[node:source:created:long] Wednesday, February 27, 2019 - 12:14
[node:source:created:medium] Wed, 02/27/2019 - 12:14
[node:source:created:raw] 1551298478
[node:source:created:short] 02/27/2019 - 12:14
[node:source:created:since] 2 years 6 months
[node:source:edit-url] http://seedmelab.cushion3.sdsc.edu/node/2/edit
[node:source:langcode] en
[node:source:vid] 617
[node:source:summary] <h3>The FolderShare command line client requires PHP with curl,  json &amp; mbstring extensions. Check if your system already has PHP7 installed (Recent versions of Linux &amp; Mac OS already have PHP7 installed).</h3> <pre> # On terminal issue the following command php -v </pre> <p><br /> If PHP is not available use one of the following two methods to install php7 on your system</p> <hr /> <h3><strong>1. Building minimal PHP from source on linux</strong></h3> <p>Download latest <a href="http://php.net/downloads.php">PHP7.x</a> then unzip and build as follows </p>
[node:source:title] PHP setup for command line usage
[node:source:url] http://seedmelab.cushion3.sdsc.edu/dev/cli/php-setup
[node:source:url:absolute] http://seedmelab.cushion3.sdsc.edu/dev/cli/php-setup
[node:source:url:args] , dev, cli, php-setup
[node:source:url:args:count] 3
[node:source:url:args:first] dev
[node:source:url:args:keys] 0, 1, 2
[node:source:url:args:last] php-setup
[node:source:url:args:reversed] php-setup, cli, dev
[node:source:url:brief] seedmelab.cushion3.sdsc.edu/dev/cli/php-setup
[node:source:url:path] /dev/cli/php-setup
[node:source:url:relative] /dev/cli/php-setup
[node:source:url:unaliased] http://seedmelab.cushion3.sdsc.edu/node/2
[node:source:url:unaliased:absolute] http://seedmelab.cushion3.sdsc.edu/node/2
[node:source:url:unaliased:args] , node, 2
[node:source:url:unaliased:brief] seedmelab.cushion3.sdsc.edu/node/2
[node:source:url:unaliased:path] /node/2
[node:source:url:unaliased:relative] /node/2
[node:url] http://seedmelab.cushion3.sdsc.edu/dev/cli/php-setup
[node:url:absolute] http://seedmelab.cushion3.sdsc.edu/dev/cli/php-setup
[node:url:args] , dev, cli, php-setup
[node:url:args:count] 3
[node:url:args:first] dev
[node:url:args:keys] 0, 1, 2
[node:url:args:keys:count] 3
[node:url:args:keys:last] 2
[node:url:args:keys:reversed] 2, 1, 0
[node:url:args:last] php-setup
[node:url:args:reversed] php-setup, cli, dev
[node:url:args:reversed:count] 3
[node:url:args:reversed:first] php-setup
[node:url:args:reversed:keys] 2, 1, 0
[node:url:args:reversed:last] dev
[node:url:brief] seedmelab.cushion3.sdsc.edu/dev/cli/php-setup
[node:url:path] /dev/cli/php-setup
[node:url:relative] /dev/cli/php-setup
[node:url:unaliased] http://seedmelab.cushion3.sdsc.edu/node/2
[node:url:unaliased:absolute] http://seedmelab.cushion3.sdsc.edu/node/2
[node:url:unaliased:args] , node, 2
[node:url:unaliased:args:count] 2
[node:url:unaliased:args:first] node
[node:url:unaliased:args:keys] 0, 1
[node:url:unaliased:args:last] 2
[node:url:unaliased:args:reversed] 2, node
[node:url:unaliased:brief] seedmelab.cushion3.sdsc.edu/node/2
[node:url:unaliased:path] /node/2
[node:url:unaliased:relative] /node/2