Skip to content

Usage question with wildcards #72

@deanna

Description

@deanna

Hey y'all,

Discovered this genius lil project while looking for a way to organize my Dropbox files via command line-- I have a very large folder that's not synced with my desktop, and the web interface is so slow and gross for doing heavy lifting. I'm on mac OS 10.12.5, and downloaded the latest Darwin binary (v2.0.2).

I have enough general command line knowledge to break just about anything, which ultimately means I can get around, but not well. What I'd like to do in plain English is this: "Move all files that begin with '2012-' in the 'Photos backup-- 2011-2016' folder to a subfolder there called '2012.'" I like to live on the edge, so I tried a few ways, with no success. Here's what I thought I should do, with its output.

$ dbxcli mv "Photos backup-- 2011-2016/2012-*.*" "Photos backup-- 2011-2016/2012/"
Move error: &{{/Photos backup-- 2011-2016/2012-*.* /Photos backup-- 2011-2016/2012//Photos backup-- 2011-2016/2012-*.*} false false}

Any help for my bull-in-a-china-shop technique is greatly appreciated. [smash smash]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions