![]() |
How to copy a theme?
Guys,
This probably seems such a stupid question though I just can't get it correct, could someone please assist me. I have installed a few themes and want to copy the themes to MyDocs so I can pick bits and pieces I like to make my own bastardised theme. Example of what I was doing though didn't work. sudo gainroot mkdir MyDocs/THEME/ (THIS WORKED FINE) cp /usr/share/themes/THEME/* MyDocs/THEME/ Then to paste back cp MyDocs/THEME/* /usr/share/themes/THEME/ I am sorry I don't understand coding side at all, obvious i am sure, lol. Stephen |
Re: How to copy a theme?
What didn't work? How didn't it work? What did you expect?
|
Re: How to copy a theme?
Made the directory though wouldn't copy anything.
Came up saying something like omitting directory. |
Re: How to copy a theme?
Quote:
Do like this sudo cp /usr/share/themes/ /home/user/MyDocs/THEME and sudo cp /home/user/MyDocs/THEME /usr/share/themes/THEME |
Re: How to copy a theme?
AlMedhi,
Yes mate the THEME was to represent the theme name. I am trying to copy the complete theme and all it's sub folders to MyDocs with a direct replication of sub folders. trying to follow your post, I created a folder in MyDocs/theme and did the following: sudo cp /usr/share/themes/ /home/user/MyDocs/theme looked as though worked as it returned the typical : /home/user/ # When I looked, nothing. Sorry to be a pain |
Re: How to copy a theme?
AlMedhi,
All good. It worked, I thought you were copying all themes to a folder called theme in mydocs. Hence why i created a folder called theme. When I did exactly as you did and replaced the theme with the theme name it worked perfectly, sorry. Thanks, much appreciated. Stephen |
Re: How to copy a theme?
No worries ;)
|
Re: How to copy a theme?
This should also work
Code:
cp -r /usr/share/themes/THEME/* /home/user/MyDocs/THEME/ |
Re: How to copy a theme?
AlMedhi,
Mate, I am dumb founded. I got it to work once and not again since, could you please check I am doing it correctly for me. sudo cp /usr/share/themes/ /home/user/MyDocs/dthemenight-themedir "dthemenight-themedir" being the theme name under /usr/share/themes/. Do I need to create the folder first under MyDocs: mkdir MyDocs/dthemenight-themedir ? |
Re: How to copy a theme?
Quote:
Thanks for the reply mate. I tried your suggestion also and didn't work. went through all the folders and replied back Operation not permitted & cannot create symlink. I am real sorry to be a pain guys and very appreciative of your help, I am seriously out of my depths here and no idea. Stephen |
Re: How to copy a theme?
What am I missing, not sure if looking to hard and simply not seeing it.
Posted by AlMedhi: sudo cp /usr/share/themes/ /home/user/MyDocs/THEME What I am typing in X-Term: (I have made the folder: /home/user/MyDocs/dthemenight-themedir) sudo cp /usr/share/themes/ /home/user/MyDocs/dthemenight-themedir Simply not copying anything though worked once, am very lost. |
Re: How to copy a theme?
Quote:
|
Re: How to copy a theme?
thanks Tniga, will give that a go.
|
Re: How to copy a theme?
Quote:
Mate I put in: cp -r/opt/usr/share/themes/dthemenight-themedir/* /home/user/MyDocs/dthemenight-themedir/ I also tried: cp -r /opt/usr/share/themes/dthemenight-themedir/* /home/user/MyDocs/dthemenight-themedir/ Both returned the following: cp: invalid option - - / BusyBox v1.10.2 (Debian 3:1.10.2. legal - 1osso30+0m5) multi - call binary Usage: cp [OPTION]. . . SOURCE DEST /home/user # Not sure why it works for you and not me? |
Re: How to copy a theme?
You must have typed something wrong, it really should be a valid command.
|
Re: How to copy a theme?
Quote:
Yes, make the directory with mkdir /home/user/MyDocs/dthemenight-themedir then sudo cp -r /usr/share/themes/dthemenight-themedir/ /home/user/MyDocs/ If sudo not working.. try 1. root 2. cp -r /usr/share/themes/dthemenight-themedir/ /home/user/MyDocs/ |
Re: How to copy a theme?
Quote:
EDIT: You must have confused to mv because with it that works, but here the point is to copy and not to move. |
Re: How to copy a theme?
Quote:
You are right.. was probably thinking of "mv" |
Re: How to copy a theme?
AlMehdi,
Did that and worked. Real sorry for the headache, not sure what I was doing wrong before. I did it once and worked and then I don't know, must have been doing something wrong and couldn't see it. You have been a great help to me tonight in both threads, much appreciated. Stephen |
Re: How to copy a theme?
You also need to be sure the theme you're copying isn't actually in use.
This can cause the symlink errors too |
All times are GMT. The time now is 01:03. |
vBulletin® Version 3.8.8