Help - Search - Members - Calendar
Full Version: Coplete N00b needs a little help
The Planet Forums > System Administration > Web Hosting
celebswap
Hi Guys

my question comes in two sections really and I'm somewhat of a n00b so apologies in advance icon_redface.gif

I have a folder on my server with approx 5 GIG of image files in it. I'm doing an upgrade to my forum software this weekend and have FTP's most of the images to my Home PC as a back up however it would also be useful if I could copy the whole of the image folder to a secondary folder on my server so I have a backup of every image.

My current folder is located at home/images so basically I'd like to copy this folder to a second folder at home/images2 (hope this makes sense).

Could this be donw with a bash command or is there an even more straight forward way to do it?

Secondly, I have over 100,000 images in the folder concerned and have found when I ftp to this particular folder the number of items (or images) are truncated to only 2000.

Is there a way to change a setting on my linux server to give me access to all the images? Even if I just try and copy across the whole folder without opening it it only copies over the first 2000 files.

Many thanks for your help in advice folks, its very much appreciated. icon_biggrin.gif
djc
To copy files from /home/images to /home/images2 run:

cp -a /home/images/ /home/images2/

As for the list of files being truncated, that is probably more of an FTP client thing than your server.

HTH

Dan
http://f2o.org/

QUOTE (celebswap)
Hi Guys

my question comes in two sections really and I'm somewhat of a n00b so apologies in advance  :oops:  

I have a folder on my server with approx 5 GIG of image files in it. I'm doing an upgrade to my forum software this weekend and have FTP's most of the images to my Home PC as a back up however it would also be useful if I could copy the whole of the image folder to a secondary folder on my server so I have a backup of every image.

My current folder is located at home/images so basically I'd like to copy this folder to a second folder at home/images2 (hope this makes sense).

Could this be donw with a bash command or is there an even more straight forward way to do it?

Secondly, I have over 100,000 images in the folder concerned and have found when I ftp to this particular folder the number of items (or images) are truncated to only 2000.

Is there a way to change a setting on my linux server to give me access to all the images? Even if I just try and copy across the whole folder without opening it it only copies over the first 2000 files.

Many thanks for your help in advice folks, its very much appreciated. :D
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.