Search found 19 matches

by andreyy
23 Apr 2013, 18:25
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

Sorry for disturbing you once again. I'm wondering if it possible to solve the problem with the directories that are not created by the hard LN?
by andreyy
20 Apr 2013, 08:31
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

Ufff, thanks! The another problem I found is that hard link ln is not working for directories. It's impossible to set hard link to a directory. So the scripts for LN without -s option is not working for some of the cases. When source is a disk directory itself. It looks like the directories must be ...
by andreyy
20 Apr 2013, 07:10
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

Readnoah, thank you as always! Is it possible to make ln -s or ln instead of copying the rest of the files.
I mean is it possible to change this line to include linking files, not copying:

Code: Select all

_guarded{ f.copyTo(new File("D:/path/to/remainder")) }
by andreyy
18 Apr 2013, 20:36
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

I tried to implement this logic to the script but haven't succeed. Could you pleas integrate this excerpt to the script? Thank you once again!!
by andreyy
14 Apr 2013, 20:13
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

Rednoah, could I gently ask you to help me with the moving the rest of the files to the new location! I will very appreciate your help!:)
I hope that hardlinks will work!
by andreyy
12 Apr 2013, 21:57
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

Is it possible to have some kind of buffer that will contain unprocessed files and folders.
This buffer will be just pushed to the destination folder as is.

The additional problem is that symbol links are not working on NFS file system.
ohh...
by andreyy
12 Apr 2013, 17:43
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

Regarding undetected files. I have cases like these: - SecHand Lions/BDMV/* - Holostjak.2009.x264.BDRip(1080p).mkv These files and folders haven't been processed because of the bad naming of source. I would like them to be linked (ln -s) to the same location as a detected (processed) movies. Or at a ...
by andreyy
12 Apr 2013, 14:20
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

Thanks a lot for your help, it works!!
Now one additional question - is it possible to deal with mismatched titles or titles that wasn't detected in CLI version?
by andreyy
12 Apr 2013, 07:03
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

I've just sent you a donation. Could you please do me a favor with the script? :)
by andreyy
11 Apr 2013, 20:27
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

I'll try to make my question clear. I would like to modify amc.groovy so that:
1. It will rename using ln -s
2. Make Closer (2004)/BDMV/** instead of Closer (2004)/Closer (2004) Disk 1/BDMV/**.
Is it possible to do that? Can I hire somebody who will help?
by andreyy
11 Apr 2013, 09:53
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

It looks I've got the real point - I have to edit local version amc.groovy. And it seems that f.isDisk() is not detecting Bluray folder structure correctly. This results to my problem mentioned above (Closer (2004)/Closer (2004)/). Probably I could fix it by adding something to this line: if (f ...
by andreyy
11 Apr 2013, 06:54
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

rednoah, thank you for your detailed answer. Let me give example /torrent/Gone.in.Sixty.Seconds.2000.BDRemux.1080p.CEE/Gone in Sixty Seconds (2000).mkv becomes /Movies/Gone in Sixty Seconds (2000)/Gone in Sixty Seconds (2000).mkv (it's OK) /torrent/Closer.2004.1080p.BD-Remux/BDMV/ becomes /Movies ...
by andreyy
10 Apr 2013, 21:07
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

And one additional question or problem.
I found that AMC script makes 2 same subfolders for the blueray rip.
E.g:
/Lawless (2012)/Lawless(2012)/BDMV/*
instead of just:
/Lawless (2012)/BDMV/*
by andreyy
10 Apr 2013, 18:12
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

Excuse me for noob question.
I tried to find how to combine a custom rename script with

Code: Select all

-script fn:amc
but haven't got this.

As for sym link, I should use this snippet:

Code: Select all

rename(
   file: args.getFiles(),
   action: { from, to ->
      execute('ln -s ', from, to)
   }
)
by andreyy
10 Apr 2013, 16:22
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

thanks for the answer! could you please send me a link regarding this custom functions?
i'm trying to apply amc script, so I hope I could combine custom renaming with it.
by andreyy
10 Apr 2013, 14:17
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Re: Rename folders without touching original files

As far as I understand, there is no chance to use symlinks on Java SE 6?
I can't install Java 7 on Synology :(
by andreyy
10 Apr 2013, 10:03
Forum: Help and Support
Topic: Create subfolders if neeeded
Replies: 3
Views: 4151

Re: Create subfolders if neeeded

Thanks a lot for your answer! It looks like what I really need! But I have one thing to mention. This method tries to rename the content of bluray folder: [TEST] Rename [/torrent/video/1940s/ROPE_G51/BDMV/STREAM/00069.m2ts] to [/movies/Rope (1948)/Rope (1948) CD41.m2ts] [TEST] Rename [/torrent/video ...
by andreyy
10 Apr 2013, 08:19
Forum: Help and Support
Topic: Create subfolders if neeeded
Replies: 3
Views: 4151

Create subfolders if neeeded

My video collection consist of MKVs, AVIs, Bluray rips (with its own folder structure), Blueray ISO. Some of the video files come without subfolder, some of them have it. It depends on torrent it came from. This collection organized by some way, so there is some additional folders that have the ...
by andreyy
09 Apr 2013, 16:17
Forum: Help and Support
Topic: Rename folders without touching original files
Replies: 31
Views: 24070

Rename folders without touching original files

Hello! I'm looking for the following solution: 1. I need my movies to be downloaded to a specific folders. They can have names with no strict standards. 2. I need a tool that will parse contents of this folder and then create a new structure of folders at a new location. Each folder will represent a ...