-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws s3 sync warning: Skipping file "." File does not exist. #1082
Comments
Confirmed. Looks to be a bug on our end, the warning is not necessary. It happens whenever the destination directory does not exist. Repro Steps
|
I see this as well when syncing from my home directory on my mac with --exclude "Library/" - it still gives me pages and pages and pages of "warning: skipping file" for every single file in my Library folder. Is this part of the bug? |
I had a thought - since this happens with the Library directory in my home directory, and Library is hidden, is that confusing sync? |
@ChrisSLT I believe you need to use a wildcard |
I get the same error message when using the
All of these files, which are causing the warnings and errors, are located on my local machine and not on s3, so I assume the right behavior should have been simply deleting the files, as the |
Adding onto this, not sure if it should be a separate bug: In the following example my keys are set in my ENV vars, and there is no such location as $ aws s3 sync s3://app-configs/hello-world/dev .
$ echo $?
0 In a fresh shell w/o AWS keys set: $ aws s3 sync s3://app-configs/hello-world/dev .
Unable to locate credentials
Completed 1 part(s) with ... file(s) remaining
$ echo $?
1 |
I just found the same situation (lots of warnings while using aws s3 sync). Turns out the solution was simply about permissions. Instead of |
Thank you Felipe. With sudo, it works for me too :)
…On 11 August 2017 at 18:27, Felipe de Macêdo ***@***.***> wrote:
I just found the same situation (lots of warnings while using aws s3
sync). Turns out the solution was simply about permissions.
Instead of
"aws s3 sync ..."
use
"sudo aws s3 sync"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1082 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABYc6YqKMtDUVbkzDI8uhDot90_P1ziPks5sXP-YgaJpZM4DO35U>
.
--
/*
Regards,
Jinet Alphonsa Jose
*/
|
Didn't work for me... Windows 10 :( |
yes same for me on windows 2012 R2. |
I'm on Windows and for me it is because either my file path is too long (thus it's cut and the file of the cut path does not exist), either it's because there are spaces in my folder path. |
Solution(Answer) -- Yes, Same problem was occurring for me also i.e. 'File does not exist' warning. |
I have the same problem on Windows server. The issue is that file paths are limited to 255 characters on Windows. The "aws s3 sync" command produces the following: The workaround: |
Thanks man :) |
This was my issue... the 255 character limit (running Win10). Thank you for bringing this to light, @dallasclouddev! My resolution was a little more trivial, I just moved my root folder (the one to copy) up to C:\temp which shaved enough characters from the full path that I could use the |
I had the same problem on Windows while in When using I updated and the issue went away, the transfer started immediately. |
Hi,
iam experiencing a strange be behavior when running
aws s3 sync
if i run
i get the following error in the very first line, the rest of the bucket is synced as expected
however if i go into the folder and run
it runs successfully.
Best
Justus
The text was updated successfully, but these errors were encountered: