Comments (3)
Hey @deanna , sorry for the delay and thanks for trying out dbxcli
! Can you run with -v
and paste the output? Note that unlike their POSIX variants, some dbxcli commands like mv and cp treat both <src>
and <dst>
as paths within your Dropbox folder. I know the documentation is lacking -- I welcome (and really appreciate) PR!
from dbxcli.
No worries on timing! Appreciate any help in general.
$ dbxcli mv -v "Photos backup-- 2011-2016/2012-*.*" "Photos backup-- 2011-2016/2012/"
2017/07/08 10:01:16 client.go:1893: arg: &{{/Photos backup-- 2011-2016/2012-*.* /Photos backup-- 2011-2016/2012//Photos backup-- 2011-2016/2012-*.*} false false}
2017/07/08 10:01:16 client.go:1910: req: &{POST https://api.dropboxapi.com/2/files/move HTTP/1.1 1 1 map[Content-Type:[application/json]] {0xc420073ce0} 0x1257b10 178 [] false api.dropboxapi.com map[] map[] <nil> map[] <nil> <nil> <nil> <nil>}
2017/07/08 10:01:17 client.go:1914: resp: &{409 Conflict 409 HTTP/1.1 1 1 map[Date:[Sat, 08 Jul 2017 14:01:14 GMT] Content-Type:[application/json] Connection:[keep-alive] X-Dropbox-Request-Id:[d5a388d50dd091e56c0a51a81f221d71] Server:[nginx]] 0xc42034d940 -1 [chunked] false false map[] 0xc4200d4600 0xc4202f89a0}
2017/07/08 10:01:17 client.go:1927: body: {"error_summary": "from_lookup/not_found/..", "error": {".tag": "from_lookup", "from_lookup": {".tag": "not_found"}}}
Move error: &{{/Photos backup-- 2011-2016/2012-*.* /Photos backup-- 2011-2016/2012//Photos backup-- 2011-2016/2012-*.*} false false}
from dbxcli.
Hey @deanna , I'll try to improve the self-help documentation and error handling, but what you're trying is simply not supported, at least now. Key is what I mentioned earlier: dbxcli mv
requires that both src
and dst
are already within your Dropbox.
Notably, your command relies on shall expansion, which means it'll only work for local files. You might be able to achieve the desired result by filtering the output of dbxcli ls
and piping it into dbxcli mv
with some shell-fu to glue everything together.
I'm going to close this out, but feel free to re-open (or file another issue) as needed!
from dbxcli.
Related Issues (20)
- How to handle multiple accounts? HOT 1
- Is it possible to add -p parameter for mkdir and -r parameter for put?
- Error: path/conflict/folder/. only after full upload - should be at start of upload HOT 1
- improved docuemtation (for put)
- syncing a whole directory down HOT 1
- Dropbox account for testing
- ls only works on directories. It fails when path of individual file is provided
- Support for new changes to tokens and permissions?
- upload / download folders HOT 7
- Unable to Re-Setup Dropbox connection HOT 16
- Error when uploading a large file HOT 3
- Change a file/folder status from Local to Online Only and Online Only / Local HOT 2
- Dropbox CLI Error: ng
- How to use specific proxy (not system proxy)?
- Cannot locate/load 'libc.so.94.0' out of src directory
- go get github.com/dropbox/dbxcli cannot find module providing package HOT 1
- Feature requrest: Upload from standard input
- Multiple auth.json
- Downloading files from a public folder HOT 1
- Accessing team folders
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbxcli.