#2 symlinks from real filenames to numbered filenames

closed
nobody
None
5
2007-06-29
2006-12-21
Kfir Lavi
No

I want to write the thumbnails with the orginal name of the image.

This is line of output:
0007 Mon Apr 24 19:33:48 2006 NewOffice.jpg

The thumbnail will be written as:
0007.jpg
I want to write it as:
NewOffice.jpg

I have solved this problem by creating new switch '-s' that create symlinks of the real filename to the thumb. This is 'ls -l' :
lrwxrwxrwx 1 kfir kfir 16 Dec 20 18:38 NewOffice.jpg -> .thumbs/0007.jpg

I create DIR/.thumbs and put there the real thumbs. Then link from DIR to DIR/.thumbs.

This is a quick way to solve the problem, because I didn't find the way to write files with the orginal filename.

Discussion

  • Kfir Lavi

    Kfir Lavi - 2006-12-21

    real filenames symlinks

     
  • rukin

    rukin - 2007-06-29
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks