Comments (7)
试试:
pcs mkdir /localdir
pcs synch -ur localdir /localdir
from baidupcs.
还是一样的,
pcs mkdir /Simply.The.Best.2012.HDRip.720p
pcs synch -ur Simply.The.Best.2012.HDRip.720p /Simply.The.Best.2012.HDRip.720p
Scanning local file system...
Completed
Fetching net disk file list...
Completed
Comparing...
Completed
Download: off, Upload: on, Confuse: off, Equal: off
Printing|Synching...
Completed
Local File OP Net Disk File
Statistic:
Need Download: 0, Need Upload: 0
Confuse: 0, Equal: 0, Other: 0
Total: 0, Fail: 0
Notes:
<- means the right file will download into
the local file system.
-> means the left file will upload into the disk.
== means left file same as right file.
< means confuse, don't known how to.
from baidupcs.
pcs ls /Simply.The.Best.2012.HDRip.720p 看看,看起来好像文件已经传上去了。看那个输出中有0个需要上传。还是我搞错意思了?需要能上传空的文件夹?
from baidupcs.
henry@henry-xbmc:/mnt/raid/sdb1$ ls -lh Simply.The.Best.2012.HDRip.720p/
total 4.1G
-rwxrwxrwx 1 henry henry 286K Feb 19 2012 Scene 1 - Sandra Shine,Vera,Antonya.jpg
-rwxrwxrwx 1 henry henry 693M Feb 19 2012 Scene 1 - Sandra Shine,Vera,Antonya.mp4
-rwxrwxrwx 1 henry henry 238K Feb 19 2012 Scene 2 - Eve Angel and Jo.jpg
-rwxrwxrwx 1 henry henry 752M Feb 19 2012 Scene 2 - Eve Angel and Jo.mp4
-rwxrwxrwx 1 henry henry 310K Feb 19 2012 Scene 3 - Sandra Shine and Antonya.jpg
-rwxrwxrwx 1 henry henry 1014M Feb 19 2012 Scene 3 - Sandra Shine and Antonya.mp4
-rwxrwxrwx 1 henry henry 300K Feb 19 2012 Scene 4 - Vera and Eve Angel.jpg
-rwxrwxrwx 1 henry henry 950M Feb 19 2012 Scene 4 - Vera and Eve Angel.mp4
-rwxrwxrwx 1 henry henry 258K Feb 19 2012 Scene 5 - Jo and Sandra Shine.jpg
-rwxrwxrwx 1 henry henry 738M Feb 19 2012 Scene 5 - Jo and Sandra Shine.mp4
-rwxrwxrwx 1 henry henry 110K Feb 19 2012 vt128-800-front.jpg
本地目录不是空的哦,但是不知道为什么你这个提示是空的. 上传文件正常
from baidupcs.
在浏览器中打开百度网盘,能看到上传的文件吗? 上传时,程序会获取本地文件列表和网盘中对应文件夹的文件列表,并比较他们的最后修改时间,如果本地文件的修改时间小于网盘中文件的上传时间,则认为文件不需要重新上传。所以统计出来有0个需要上传,意思就是文件在网盘中都存在了,且是最新的。所以,需要你用 ‘pcs ls /Simply.The.Best.2012.HDRip.720p’ 来列出网盘文件,或者直接在浏览器中查看文件是否已经上传成功了。
我这边上传都正常。
from baidupcs.
我没办法,刚写了一个脚本,实现上传目录.经过测试正常.
#!/bin/bash
DIR=$1
find
cat /tmp/${DIR}.list | while read line; do
if [ -d ${line} ]; then
echo ${line} is dir
# 远程建立目录
pcs mkdir /${line}
elif [ -f ${line} ]; then
echo ${line} is file
# 上传文件
pcs upload ${line} /${line}
fi
done
希望能给人带来帮助
from baidupcs.
莫非是我RP出了问题. 你说的方法, 我测试好多次都不行. 在浏览器里面查看,文件的确没有上传上去.是空的.
我写了一个简单的脚本,用来上传目录. 配合上传文件的功能, 感觉非常的好用.
from baidupcs.
Related Issues (20)
- Error: Can't create download thread.
- Why the speed turn to 0B/s when have downloaded part of the file? HOT 1
- Error: Couldn't connect to server
- ls: cannot access '/home/kk/.pcs/captcha.gif': No such file or directory HOT 1
- 下载的图片都是损坏的 HOT 1
- error_code:31200
- upload slice failed
- centos7下面编译全是错误,编译不过去 HOT 1
- cmake是不是比autoconf autotools要简洁方便啊
- .NET版本,前几天还运行的好好的,这两天都传输不成功了,好像没有断点续传了
- baidupcs login Error: Timeout was reached: http://pan.baidu.com/disk/home
- 咨询作者(维护问题) HOT 9
- Getting unreadable chinese Captcha + fails on latin letters captchas HOT 1
- 請問 Ubuntu 上有辦法使用嗎? HOT 1
- 打包安装失败 HOT 1
- mac版本下载错误
- 请教一下mac版是否用到了P2P? HOT 1
- 无法通过邮箱登录! HOT 1
- 测试一下
- Mac build fails with link problem HOT 3
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 baidupcs.