Displaying 6 results from an estimated 6 matches for "drive5".
Did you mean:
driver
2015 Aug 17
7
Error with paths with ()'s
I was trying to process a bunch of folders to sync them to another drive and ran across an error I haven’t seen before. Normally I do this sync via a mounted file system, but this time I tried to do it over ssh:
find . -type f -atime -1 -exec rsync -aP {} 10.0.0.11:/Volumes/Drive5/{} \;
bash: -c: line 0: syntax error near unexpected token `('
bash: -c: line 0: `rsync --server -logDtpre.iLsfx --log-format=X --partial . /Volumes/Drive5/./Taxes (2012)/W2 (2012).pdf'
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync prot...
2015 Aug 17
0
Error with paths with ()'s
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If you want find to generate your list use --files-from:
find . -type f -atime -1 -print0 | rsync -aP --files-from=- --from0 .
10.0.0.11:/Volumes/Drive5/
On 08/17/2015 02:13 AM, @lbutlr wrote:
> I was trying to process a bunch of folders to sync them to another
> drive and ran across an error I haven’t seen before. Normally I do
> this sync via a mounted file system, but this time I tried to do it
> over ssh:
>
> find . -type f...
2015 Aug 17
1
Error with paths with ()'s
...Despite the error, this is not a bash problem.
> So, at a minimum, you need to escape/quote *both* of your file references {} - not just the one.
Find’s {} is escaped, just doesn’t seem to be escaped properly via ssh/rysnc.
As I said, this works:
find . -type f -atime -1 -exec rsync -aP {} /Drive5/{}
This fails if there are ()’s in the file name.
find . -type f -atime -1 -exec rsync -aP {} 10.0.0.11:/Drive5/{}
> But the real issue is that you should probably let find put all the resulting file names into a file or pipe and send that to rsync once using something like
> --f...
2015 Aug 17
0
Error with paths with ()'s
...lr wrote:
> I was trying to process a bunch of folders to sync them to another drive and ran across an error I haven’t seen before. Normally I do this sync via a mounted file system, but this time I tried to do it over ssh:
>
> find . -type f -atime -1 -exec rsync -aP {} 10.0.0.11:/Volumes/Drive5/{} \;
> bash: -c: line 0: syntax error near unexpected token `('
> bash: -c: line 0: `rsync --server -logDtpre.iLsfx --log-format=X --partial . /Volumes/Drive5/./Taxes (2012)/W2 (2012).pdf'
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
> rsync error:...
2010 Mar 26
23
RAID10
Hi All,
I am looking at ZFS and I get that they call it RAIDZ which is similar to RAID 5, but what about RAID 10? Isn''t a RAID 10 setup better for data protection?
So if I have 8 x 1.5tb drives, wouldn''t I:
- mirror drive 1 and 5
- mirror drive 2 and 6
- mirror drive 3 and 7
- mirror drive 4 and 8
Then stripe 1,2,3,4
Then stripe 5,6,7,8
How does one do this with ZFS?
2010 Feb 12
2
Setuid bit always set on Vista mount
Files on my Vista mount always have the S mode (setgid bit?) set according
to ls -l. This is a security hole and causes other problems. I can't clear
the bit with chmod; in fact the results of doing chmod don't make any sense
to me (I'll be glad to provide examples). Typical files show as -rwxrwSrwx,
though not all. The smb.conf file has create mask 0666 and directory mask
0777 various