helprenrot - Support: sr #333, need renamed filename as output

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

sr #333: need renamed filename as output

Submitted by:  Paolo <paolop>
Submitted on:  Wed Oct 3 12:20:26 2012  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: None

Wed Oct 3 12:20:26 2012, original submission:

Hi,
I need to know the renrot renamed filename in my bash scripts.
Something like:
RENAMED=$(renrot -O -n "%Y-%m-%d_%H.%M.%S.%i" $FILE)

( -O the new commandline option to output the renamed filename)

echo $RENAMED
2012-07-13_10.34.06.9124.jpg

At the moment I have to do:
OUTPUT=$(renrot -n "%Y-%m-%d_%H.%M.%S.%i" $FROMNAME.jpg)
RENAME=$(echo $OUTPUT | grep Renamed | cut -d\> -f 2 )

thank you.

Paolo <paolop>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by paolop (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray