![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
How to import wordpress photos/vids from your server (not via upload)?
I don't need a gallery maker but just want to add media that is already on my server (same domain) instead of loading it through the usual uploader.
Wanting to be able to use the gallery feature that I have and just tell it where to pull the images. Is there a plugin or easy fix for this? Or is there a setting that I've never known about? I know I can do it with something like UU Gallery, but I don't want to change the gallery maker. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
in ssh if you have it ...
Code:
#mv /home/user/CurrentPath/filename.jpg /home/user/NewPath/filename.jpg #chown newUser /home/user/NewPath/filename.jpg chown if changing ownership (ch(ange) own(er)) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
you could also use cp instead of mv ...
cp=copy (makes a duplicate in a new location) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
Quote:
You know a plugin that will do the same thing and allow me to keep a folder structure? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Registered User
Industry Role:
Join Date: Jul 2003
Location: Encrypted. Access denied.
Posts: 31,779
|
Quote:
/gallery01 /gallery02 /gallery03 Instead of putting them all into upload/2011/may/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
Quote:
cp -r the directory to the path in the WP installation (-r or -R = recursive (all subdirectories and their files too) |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Could be an alternative way to handle it with a CDN plugin, which w3 total cache does for example even though it's not strictly a CDN plugin.
http://webmasters.stackexchange.com/...the-filesystem
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |