• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Renaming files adding the origin-path of each file to its name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Renaming files adding the origin-path of each file to its name


  • Subject: Renaming files adding the origin-path of each file to its name
  • From: Ânderson Quadros <email@hidden>
  • Date: Thu, 11 Jul 2013 09:45:07 -0300

Hi!

I'm trying to develop a workflow that:

- Find movie-files in different subfolders (paths) from a specific folder;
- change the name of each file, adding the path of the origin-folder before the name of the file (e.g. if the path is "/user/movies/folder76" and  the file's name is "file14.avi", the file's name must be renamed to "/user/movies/folder76/file14.avi"
- Move the renamed file to a new folder.

I've got pretty closed, but all the movie-files found by Automator are renamed with the same "path", even when they are in different paths.

What I did:

1. Find Itens in Finder: to find movie-files in all subfolders in a specific folder;
2. Adjust Variable: using the variable "path";
3. Rename Finder Itens: adding text with the variable "path";

My problem, as I've already said, is that all the files, even from different paths, are renamed with only one very specif path.

Can someone help me?

Thanks!

Ânderson Q
.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Index(es):
    • Date
    • Thread