Pinned Loading
-
Bash script to move files with no ex...
Bash script to move files with no extension into folders 1#!/bin/bash
2parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
3FILES=${parent_path}/files/*
4counter=0
5for f in $FILES
-
hook_update() to create photo nodes ...
hook_update() to create photo nodes out of untracked files 1/**
2* Move files from files dir & add image node.
3*/
4function hook_update_N(&$sandbox) {
5if (!isset($sandbox['progress'])) {
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.