Well, this probably isn't the only way, but you can certainly user curl
with "PUT" commands
So a bash script would be something like:
for file in ls {
curl -X PUT --data-binary @/path/to/rpm/$file -u admin:password -i
http://artyurl/artifactory/path/to/artifact/$file
}
(I'm 99.9% sure that's not syntactically correct, because I have to look
up the syntax every time I want to do that.)
As I said, probably not the only way to do it, but it'd work.
The "artifacts bundle" option in the web page may also help you. It'll
accept a ZIP file.
-Dave
On 5/19/2014 2:39 PM, cvquesty wrote:
> Let's say we have a shiny new Artifactory installation. Now let's say I have
> an existing directory of hundreds of RPM files that weren't in a repo, they
> were just on disk and accessed via HTTP calls.
>
> Now let's say I'd like to import those files into Artifactory without having
> to use the GUI and specify each and every file individually, but would like
> to do a bulk import of those files. In Yum-land, I would add them to a
> directory, run "createrepo", make a .repo file and source them via yum over
> http.
>
> What is the "right" way to do this in Artifactory?
>
>
>
> --
> View this message in context:
> http://forums.jfrog.org/Importing-a-directory-of-files-tp7579857.html
> Sent from the Artifactory - Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users