On Oct 20, 2017, at 5:40 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com>
wrote:
>
> On Oct 20, 2017, at 4:30 PM, Chip Scheide <4d_o...@pghrepository.org> wrote:
>
>>> $command_t:="mv "+GetPOSIXfilePath ($folderPath_t)+"
>> had trouble here -
>> apparently 4D's (v13) Convert path system to
follow up on this:
Code :
//utl_file_Convert_to_Posix
// $1 - text - Path to convert
//original :
//JorgeChB 2012-05-30 pathToUnix
//JorgeChB 2015-02-05
//Converts a Mac file path to a Posix form
//RETURNS - text - converted path
// • Created 3/24/15 by Chip -
if you don't mind using a plugin, perhaps as a stop gap measure:
https://github.com/miyako/4d-plugin-rename
**
4D Internet Users Group (4D iNUG)
FAQ: http://lists.4d.com/faqnug.html
Archive: http://lists.4d.com/archives.html
To: '4D iNug Technical' <4d_tech@lists.4d.com>; timnev...@mac.com
Cc: Stephen J. Orth <s.o...@the-aquila-group.com>
Subject: RE: v13 - Renaming a Directory via code.
If you only work on Windows (like me) you can take advantage of a Windows DOS
command by creating a batch file with t
day, October 20, 2017 6:03 PM
To: timnev...@mac.com
Cc: Chip Scheide <4d_o...@pghrepository.org>; 4d_tech@lists.4d.com
Subject: Re: v13 - Renaming a Directory via code.
Ill post mine on Monday. I got it from Jorge I think
> On Oct 20, 2017, at 4:30 PM, Chip Scheide <4d_o.
Ill post mine on Monday. I got it from Jorge I think
> On Oct 20, 2017, at 4:30 PM, Chip Scheide <4d_o...@pghrepository.org> wrote:
>
>>> $command_t:="mv "+GetPOSIXfilePath ($folderPath_t)+"
>> had trouble here -
>> apparently 4D's (v13) Convert path system to POSIX command - fails to
>> do
On Oct 20, 2017, at 4:30 PM, Chip Scheide <4d_o...@pghrepository.org> wrote:
>> $command_t:="mv "+GetPOSIXfilePath ($folderPath_t)+"
> had trouble here -
> apparently 4D's (v13) Convert path system to POSIX command - fails to
> do what it is advertised to do.
> Fortunately I had a routine
Tim,
first - it works (OSX) even renaming a folder to the same name but case
changed.
i.e. My_Folder -> MY_FOLDER
THANKS!
the below line of code -
On Fri, 20 Oct 2017 16:21:24 -0400, Chip Scheide via 4D_Tech wrote:
>> $command_t:="mv "+GetPOSIXfilePath ($folderPath_t)+"
had trouble here -
Thanks Tim,
I wrote code to use MOVE DOCUMENT and CREATE FOLDER to do this.
It works, it is (on my tests, NOT very deep folder structures) quick.
So - Folder_Rename(Old_Folder_Path;New_Folder_Name)
works, no problem.
Then I tried to change the case, rather then rename on a folder and hit
a
On Oct 20, 2017, at 1:04 PM, Chip Scheide wrote:
> I want to rename a directory, from say New Folder -> New Folder too
> Move Document complains, as neither the source nor the destination are
> documents.
>
> is there another means to rename a folder other than:
>
> - Create new folder with
I want to rename a directory, from say New Folder -> New Folder too
Move Document complains, as neither the source nor the destination are
documents.
is there another means to rename a folder other than:
- Create new folder with new/changed name
- copy all contents from source folder to
11 matches
Mail list logo