Specifically, my "themes" folder has been corrupted (my fault), and I need to replace the entire folder with a backup that I made.
I have a folder that contains multiple subdirectories. I would like to copy the contents of the folder over ftp (using lftp preferably) instead of the entire folder.
When I use the mirror command, it seems to copy the folder over, which means that my files are one level higher than expected.
I am working on some code that will take all the images in one folder and copy them into another folder and then delete the original folder and it content.
but this does not work :( but it doesn't work I mean the files dont copy over and the old-folder is not deleted :(
I even tried:
I made a really silly
sudo mv /* /some_folder
move command on my remote server machine running ubuntu 12.04
that moved my boot folder to
I can access this folder via a browser terminal that gives me grub rescue.
How can I move the entire folder back to root location so to boot normally?
If that is impossible then if I boot from this location , will I be
move command on my remote server vm ubuntu 12.04
If that is impossible then if I boot from this location , will I be able to trav
I am trying to copy a folder into the user/share/themes folder on Ubuntu 14.04, and it's telling me I cannot do this because I am not "owner".
I happened to backup a lot of files with the 'cp -r -v' command and then all the files were updated to have today's date. Before discovering this I deleted the originals.
The timestamps are important in this folder so I want them back.
This should be very simple for experts in here.
I have a Linux account with user disk quota of only 6GB. There is some data-folder in /opt with about 3GB of data with when compressed comes up 1GB. There are some symbolic links with in data-folder.
I want to backup my NAS on multiple DVD's. What i had in mind was a script what does the following:
-Create a folder for each DVD
-Copy the files and filestructure into the DVD folders
-Stop / goto next DVD folder when the first DVD folder is full
i.e. the trigger is 4 GByte (which calculates easy for the example)
I have a datasrouce with 10 gb of data., so this will be 3 DVD's.
I would like to copy a folder structure (without the files), but only the top level folders. That is, with my source:
* folder 1
* folder 2
* folder X
* folder 3
I want my destination to simply be:
How can I do this in Linux?