Notices


Reply
Thread Tools
Posts: 178 | Thanked: 40 times | Joined on Aug 2007 @ UK
#81
I also would prefer to see the video length before deciding to view it.
 
Posts: 197 | Thanked: 4 times | Joined on Jan 2007
#82
Originally Posted by desiv View Post
No big deal.
It's still great to have this!!

Also, for now, the symlink works.

I just created a dir called videos in a tmp folder. Then I did:
cd /home/user/.canola/youtube
ln -s /media/mmc1/tmp/videos videos

(I think I did a "rmdir videos" first, to delete the original videos dir.)

Works great!!

desiv
I am trying to remove the one video I saved to disk as I keep getting an error message saying there is no more space on the device. I am unable to remove the video directory as explained above because it says the directory is not empty. How do I remove the video that is in the directory. . . PLEASE BE SPECIFIC...I DON'T KNOW LINUX WELL.
thanks,
Neil
 
sachin007's Avatar
Posts: 2,041 | Thanked: 1,066 times | Joined on Mar 2006 @ Houston
#83
Originally Posted by nspeer View Post
I am trying to remove the one video I saved to disk as I keep getting an error message saying there is no more space on the device. I am unable to remove the video directory as explained above because it says the directory is not empty. How do I remove the video that is in the directory. . . PLEASE BE SPECIFIC...I DON'T KNOW LINUX WELL.
thanks,
Neil
Copied from another post!!! Try this as is

for those of you who want to try it (on risk and so on, and *remember* that you did this change, so you can revert it when canola has a folder chooser for this)

open an x-term shell: you are in your home direcory now.
cd .canola/youtube
create a new youtube-temp-directory, e.g. on /media/mmc2:
mkdir /media/mmc2/youtube-temp
now the "crucial part": this one deletes your normal canola temp-dir
rm -r videos
and now we create a symbolic link called "videos" which points to our newly created temp dir:
ln -s /media/mmc2/youtube-temp videos
(in caps this would be LN not 1N)

after this you should be able to do a
cd videos
echo 1 > 1

and if you open your filemanager and go to the folder in which the youtube temp-files should be stored (internal mem. card/youtube-temp)
you should see a very small file called "1" now.
Delete it, as we don't need it anymore and test your youtube videos...


To revert this change:
=================

open an x-term shell: you are in your home direcory now.
cd .canola/youtube
rm videos
mkdir videos

this will only delete the *link*, so your "new" youtube-temp directory is still there and can be deleted.
 
briand's Avatar
Posts: 566 | Thanked: 145 times | Joined on Feb 2008 @ Tallahassee, FL
#84
Originally Posted by nspeer View Post
I am trying to remove the one video I saved to disk as I keep getting an error message saying there is no more space on the device. I am unable to remove the video directory as explained above because it says the directory is not empty. How do I remove the video that is in the directory. . . PLEASE BE SPECIFIC...I DON'T KNOW LINUX WELL.
Neil -- no problem.

Let's say you want to make your youtube video directory on your external SD card (/media/mmc1):

mkdir /media/mmc1/youtube

this will create the directory. Now, we'll move the already collected files in your canola youtube directory there:

mv /home/user/.canola/youtube/videos/* /media/mmc1/youtube/

that'll put everything you've collected so far into the new directory. Now that the directory is empty, you can remove it:

rmdir /home/user/.canola/youtube/videos/

now, just create the link:

ln -s /media/mmc1/youtube/ /home/user/.canola/youtube/videos/

when you next start up canola, it'll find all the stuff you've previously saved there, in the new directory.

Last edited by briand; 2008-03-23 at 02:02. Reason: corrected typographical and transpositional errors.
 
Posts: 197 | Thanked: 4 times | Joined on Jan 2007
#85
thank Briand

I had a problem.
First line of code worked. But when I type

mv /home/users/.canola/youtube/videos/* /media/mmc1/youtube/

the reply is mv: unable to rename /home/users/.canola/youtube/videos/* ' : No such file or directory
mv: unable to rename /home/users ' : No such file


what's up?
Neil
 
Posts: 225 | Thanked: 59 times | Joined on Jul 2007
#86
nspeer,

Let's see what you've got in that directory. Type this:
ls /home/users/.canola/youtube/videos -al
(The -al will give you more information, and include possible hidden files/dirs)

It sounds like that directory might already be empty..

desiv
 
Posts: 14 | Thanked: 11 times | Joined on Jan 2008
#87
Try /home/user/... instead of /home/users/...

At least that's the home directory on os2008.
 
Posts: 197 | Thanked: 4 times | Joined on Jan 2007
#88
Originally Posted by bayowar View Post
Try /home/user/... instead of /home/users/...

At least that's the home directory on os2008.
I just tried the above suggestion.

Reply is mv: unable to rename /home/user/.canola/youtube/videos/*' :no such file or directory

However, I just used the filemanager and found that my Memory Card now indeed does have a folder named youtube and there are some files in it.

Now what?
Neil

Neil

Last edited by nspeer; 2008-03-22 at 18:29.
 
Posts: 225 | Thanked: 59 times | Joined on Jul 2007
#89
Well,

Next, I'd ask you to do an "ls" on the original directory to see if it's empty...

Oh, wait, I did ask that. :-)

If it's already empty and those are the correct directory names (You'd find that out by doing an "ls" :-), you go to the next steps on the directions:
------------------------------------------------------------------
rmdir /home/users/.canola/youtube/videos/

now, just create the link:

ln -s /home/users/.canola/youtube/videos/ /media/mmc1/youtube/
------------------------------------------------------------------

desiv

p.s. Remember to be careful with rm, rmdir and mv. Those commands remove things, so you want to be sure you're removing the right things. Spaces, /'s, .'s, are all very important!!
 
Posts: 197 | Thanked: 4 times | Joined on Jan 2007
#90
Originally Posted by briand View Post
Neil -- no problem.

Let's say you want to make your youtube video directory on your external SD card (/media/mmc1):

mkdir /media/mmc1/youtube

this will create the directory. Now, we'll move the already collected files in your canola youtube directory there:

mv /home/users/.canola/youtube/videos/* /media/mmc1/youtube/

that'll put everything you've collected so far into the new directory. Now that the directory is empty, you can remove it:

rmdir /home/users/.canola/youtube/videos/

now, just create the link:

ln -s /home/users/.canola/youtube/videos/ /media/mmc1/youtube/

when you next start up canola, it'll find all the stuff you've previously saved there, in the new directory.
OK, I just typed ln -s /home/users/.canola/youtube/videos/ /media/mmc1/youtube/

the reply was ln: /media/mmc1/youtube/videos: operation not permitted

What's wrong?
thanks for your help,
Neil
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:33.