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 8 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] 4 hours 24 minutes
[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]

PHP is required for command line or REST client use only

A. PHP check

FolderShare command line client requires PHP, check if your system already has PHP7.2.x+ installed

  1. Linux: Few Linux distributions ship with PHP, if not available see section B3
  2. Mac OS: Recent versions of Mac OS already have PHP7.2+ installed
  3. Windows: PHP needs to be installed, see section B1

Check php availability on your computer as follows

# On terminal issue the following command
php -v

B. Installing PHP 7.2.x+

1 Windows 

Follow instructions noted here 

  1. Download PHP 7.2.28
  2. Unzip and rename the folder to PHP
  3. Move PHP folder to C:/
  4. Add new Environment Variables for PHP
  5. Restart computer
  6. Test PHP on terminal/command prompt

2 Mac OS

Recent versions of Mac OS already ship with php7.2.x+

3 Linux

See instructions below to install php with root privileges or building it from source as a regular user.

i Install with root privileges 

On Debian/Ubuntu see article here

# Only the following items are needed for foldershare client
apt-get install php7.2-cli php7.2-curl php7.2-mbstring

On CentOS

yum -y install centos-release-scl.noarch
yum search php72-
yum install rh-php72-php-cli.x86_64
yum install rh-php72-php-mbstring.x86_64

 

ii Building minimal PHP from source

Download latest PHP7.2.x then unzip and build as follows 

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

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

cd php-7.2.28

# Configure minimal build necessary for the FolderShare client
# Optionally add --prefix=/path/to/install
./configure --disable-all --disable-cgi --enable-cli --enable-filter --enable-json --enable-mbstring --with-curl --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)

 

iii Add environment path

After installing PHP, add php to your environment path for e.g. append the following to your ~/.bashrc

export PATH="/full/path/to/php:$PATH"
[node:book]
[node:comment-count] 0
[node:comment]
[node:nid] 40
[node:content-type] Book page
[node:content-type:description] <em>Books</em> have a built-in hierarchical navigation. Use for handbooks or tutorials.
[node:content-type:edit-url] http://seedmelab.cushion3.sdsc.edu/admin/structure/types/manage/book
[node:content-type:machine-name] book
[node:content-type:name] Book page
[node:content-type:node-count] 1
[node:changed] Tue, 05/19/2020 - 10:48
[node:changed:fallback] Tue, 05/19/2020 - 10:48
[node:changed:foldershare_date_time] 5/19/20 10:48 AM
[node:changed:html_date] 2020-05-19
[node:changed:html_datetime] 2020-05-19T10:48:26-0700
[node:changed:html_month] 2020-05
[node:changed:html_time] 10:48:26
[node:changed:html_week] 2020-W21
[node:changed:html_year] 2020
[node:changed:html_yearless_date] 05-19
[node:changed:long] Tuesday, May 19, 2020 - 10:48
[node:changed:medium] Tue, 05/19/2020 - 10:48
[node:changed:raw] 1589910506
[node:changed:short] 05/19/2020 - 10:48
[node:changed:since] 1 year 2 months
[node:created] Sun, 03/22/2020 - 13:46
[node:created:fallback] Sun, 03/22/2020 - 13:46
[node:created:foldershare_date_time] 3/22/20 1:46 PM
[node:created:html_date] 2020-03-22
[node:created:html_datetime] 2020-03-22T13:46:26-0700
[node:created:html_month] 2020-03
[node:created:html_time] 13:46:26
[node:created:html_week] 2020-W12
[node:created:html_year] 2020
[node:created:html_yearless_date] 03-22
[node:created:long] Sunday, March 22, 2020 - 13:46
[node:created:medium] Sun, 03/22/2020 - 13:46
[node:created:raw] 1584909986
[node:created:short] 03/22/2020 - 13:46
[node:created:since] 1 year 4 months
[node:edit-url] http://seedmelab.cushion3.sdsc.edu/node/40/edit
[node:field_image]
[node:langcode] en
[node:comment-count-new]
[node:original]
[node:vid] 517
[node:log]
[node:summary] <p style="color:darkblue"><strong>PHP is required for command line or REST client use only</strong></p> <h3>A. PHP check</h3> <p>FolderShare command line client requires PHP, check if your system already has PHP7.2.x+ installed</p> <ol> <li><strong>Linux: </strong>Few Linux distributions ship with PHP, if not available see section B3</li> <li><strong>Mac OS:</strong> Recent versions of Mac OS already have PHP7.2+ installed</li> <li><strong>Windows: </strong>PHP needs to be installed, see section B1</li> </ol> <p>Check php availability on your computer 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 8 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] 4 hours 24 minutes
[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]

PHP is required for command line or REST client use only

A. PHP check

FolderShare command line client requires PHP, check if your system already has PHP7.2.x+ installed

  1. Linux: Few Linux distributions ship with PHP, if not available see section B3
  2. Mac OS: Recent versions of Mac OS already have PHP7.2+ installed
  3. Windows: PHP needs to be installed, see section B1

Check php availability on your computer as follows

# On terminal issue the following command
php -v

B. Installing PHP 7.2.x+

1 Windows 

Follow instructions noted here 

  1. Download PHP 7.2.28
  2. Unzip and rename the folder to PHP
  3. Move PHP folder to C:/
  4. Add new Environment Variables for PHP
  5. Restart computer
  6. Test PHP on terminal/command prompt

2 Mac OS

Recent versions of Mac OS already ship with php7.2.x+

3 Linux

See instructions below to install php with root privileges or building it from source as a regular user.

i Install with root privileges 

On Debian/Ubuntu see article here

# Only the following items are needed for foldershare client
apt-get install php7.2-cli php7.2-curl php7.2-mbstring

On CentOS

yum -y install centos-release-scl.noarch
yum search php72-
yum install rh-php72-php-cli.x86_64
yum install rh-php72-php-mbstring.x86_64

 

ii Building minimal PHP from source

Download latest PHP7.2.x then unzip and build as follows 

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

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

cd php-7.2.28

# Configure minimal build necessary for the FolderShare client
# Optionally add --prefix=/path/to/install
./configure --disable-all --disable-cgi --enable-cli --enable-filter --enable-json --enable-mbstring --with-curl --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)

 

iii Add environment path

After installing PHP, add php to your environment path for e.g. append the following to your ~/.bashrc

export PATH="/full/path/to/php:$PATH"
[node:source:nid] 40
[node:source:content-type] Book page
[node:source:content-type:description] <em>Books</em> have a built-in hierarchical navigation. Use for handbooks or tutorials.
[node:source:content-type:edit-url] http://seedmelab.cushion3.sdsc.edu/admin/structure/types/manage/book
[node:source:content-type:machine-name] book
[node:source:content-type:name] Book page
[node:source:content-type:node-count] 1
[node:source:changed] Tue, 05/19/2020 - 10:48
[node:source:changed:fallback] Tue, 05/19/2020 - 10:48
[node:source:changed:foldershare_date_time] 5/19/20 10:48 AM
[node:source:changed:html_date] 2020-05-19
[node:source:changed:html_datetime] 2020-05-19T10:48:26-0700
[node:source:changed:html_month] 2020-05
[node:source:changed:html_time] 10:48:26
[node:source:changed:html_week] 2020-W21
[node:source:changed:html_year] 2020
[node:source:changed:html_yearless_date] 05-19
[node:source:changed:long] Tuesday, May 19, 2020 - 10:48
[node:source:changed:medium] Tue, 05/19/2020 - 10:48
[node:source:changed:raw] 1589910506
[node:source:changed:short] 05/19/2020 - 10:48
[node:source:changed:since] 1 year 2 months
[node:source:created] Sun, 03/22/2020 - 13:46
[node:source:created:fallback] Sun, 03/22/2020 - 13:46
[node:source:created:foldershare_date_time] 3/22/20 1:46 PM
[node:source:created:html_date] 2020-03-22
[node:source:created:html_datetime] 2020-03-22T13:46:26-0700
[node:source:created:html_month] 2020-03
[node:source:created:html_time] 13:46:26
[node:source:created:html_week] 2020-W12
[node:source:created:html_year] 2020
[node:source:created:html_yearless_date] 03-22
[node:source:created:long] Sunday, March 22, 2020 - 13:46
[node:source:created:medium] Sun, 03/22/2020 - 13:46
[node:source:created:raw] 1584909986
[node:source:created:short] 03/22/2020 - 13:46
[node:source:created:since] 1 year 4 months
[node:source:edit-url] http://seedmelab.cushion3.sdsc.edu/node/40/edit
[node:source:langcode] en
[node:source:vid] 517
[node:source:summary] <p style="color:darkblue"><strong>PHP is required for command line or REST client use only</strong></p> <h3>A. PHP check</h3> <p>FolderShare command line client requires PHP, check if your system already has PHP7.2.x+ installed</p> <ol> <li><strong>Linux: </strong>Few Linux distributions ship with PHP, if not available see section B3</li> <li><strong>Mac OS:</strong> Recent versions of Mac OS already have PHP7.2+ installed</li> <li><strong>Windows: </strong>PHP needs to be installed, see section B1</li> </ol> <p>Check php availability on your computer as follows</p>
[node:source:title] PHP setup for command line usage
[node:source:url] http://seedmelab.cushion3.sdsc.edu/help/cli/php-setup
[node:source:url:absolute] http://seedmelab.cushion3.sdsc.edu/help/cli/php-setup
[node:source:url:args] , help, cli, php-setup
[node:source:url:args:count] 3
[node:source:url:args:first] help
[node:source:url:args:keys] 0, 1, 2
[node:source:url:args:last] php-setup
[node:source:url:args:reversed] php-setup, cli, help
[node:source:url:brief] seedmelab.cushion3.sdsc.edu/help/cli/php-setup
[node:source:url:path] /help/cli/php-setup
[node:source:url:relative] /help/cli/php-setup
[node:source:url:unaliased] http://seedmelab.cushion3.sdsc.edu/node/40
[node:source:url:unaliased:absolute] http://seedmelab.cushion3.sdsc.edu/node/40
[node:source:url:unaliased:args] , node, 40
[node:source:url:unaliased:brief] seedmelab.cushion3.sdsc.edu/node/40
[node:source:url:unaliased:path] /node/40
[node:source:url:unaliased:relative] /node/40
[node:url] http://seedmelab.cushion3.sdsc.edu/help/cli/php-setup
[node:url:absolute] http://seedmelab.cushion3.sdsc.edu/help/cli/php-setup
[node:url:args] , help, cli, php-setup
[node:url:args:count] 3
[node:url:args:first] help
[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, help
[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] help
[node:url:brief] seedmelab.cushion3.sdsc.edu/help/cli/php-setup
[node:url:path] /help/cli/php-setup
[node:url:relative] /help/cli/php-setup
[node:url:unaliased] http://seedmelab.cushion3.sdsc.edu/node/40
[node:url:unaliased:absolute] http://seedmelab.cushion3.sdsc.edu/node/40
[node:url:unaliased:args] , node, 40
[node:url:unaliased:args:count] 2
[node:url:unaliased:args:first] node
[node:url:unaliased:args:keys] 0, 1
[node:url:unaliased:args:last] 40
[node:url:unaliased:args:reversed] 40, node
[node:url:unaliased:brief] seedmelab.cushion3.sdsc.edu/node/40
[node:url:unaliased:path] /node/40
[node:url:unaliased:relative] /node/40