Rename new document created in Document Library automatically when created

In a document library folder, when a user creates a new document, instead of it being named ‘Document’ when created, I want it to be named as the last name of the user. I have explored trying to do this through a Workflow but there does not seem to be a way to rename a document. The user cannot rename the document themselves as they do not have delete permission.

rename member group of group-connected site

I would like to apply a PnP template to a group connected site, but I receive an error message that the group name contains not allowed characters. True, it has / in its name. I renamed the group in Teams, this looks ok,but in SharePoint I still see the old name, that is like Customer A/B members. When I try to edit in SPO, I can see that the object behind this group is like c:0o.c|federateddirectoryclaimprovider|76cba1c7-42f0-4571-9245- and I cannot do anything with it. Where does this object live and how can I rename it?

script to parse a directory and rename with the same name and change only extension (after converting using sphinx)

I am using pocketsphinx to convert audio file to text. These two commands must do the work:

First i run

ffmpeg -i file.mp3 -ar 16000 -ac 1 file.wav 

then i run

pocketsphinx_continuous -infile file.wav 2> pocketsphinx.log > result.txt 

I do that for each file (mp4 or mp3), I want to execute these two commands only once in a script, by browsing the directory content (files with the extension mp3 or mp4), and give the file the same name with the extension .txt (for exemple with the first command “file.mp3” become “file.wav” then using the second command “file.wav” become “file.txt”).

How to do that using a single script file?

How to rename Title site columns in custom content type using powershell

My requirement is when browser is in English, Title column in Content Type (content type is attached with list) is rename as “Last Name” and when in German, it should be “Nachname”. My below code ran successfully and can rename only in English, but I wonder how to rename in German as well.

$  site = new-object Microsoft.SharePoint.SPSite("site collection url") $  web = $  site.OpenWeb() $  ct=$  web.ContentTypes["CT1"]   $  field = $  ct.Fields.GetFieldByInternalName("Title")                             $  ct.FieldLinks[$  field.Id].DisplayName ="Last Name"      $  ct.Update(); 

Script that rename a folder if the folder is empty

This don’t work for me.

#!/bin/bash # script to find empty folder in current folder and rename it.  #find empty folder and write it into fef.txt find . -type d -empty -maxdepth 1 -mindepth 1 | cut -c2- > fef.txt;  #number line of fef.txt nl_fef=$  (cat fef.txt | wc -l);  #rename loop for i in {1..$  nl_fef}; do  # folder path f=$  (pwd); d=$  (cat fef.txt | head -$  i | tail -1) folder_path=$  f$  d  #rename folder_name to folder_name.empty  mv "$  folder_path" "$  folder_path".empty;  done; 

PCManFM 1.2.5 in Lubuntu 18.04 – custom command to batch rename all files in dir incl. subdir to subdir001, 002,

PCManFM 1.2.5 in Lubuntu 18.04 here.

want to add a custom command to right click menu to batch rename all files in the selected dir, including all files in all subdirs, to subdir001, subdir002, …

For example, if a directory x has subdirs abc and def containing files a1.mp3, a2.mp3, a3.mp3 each, I want the files in abc to be renamed abc001.mp3, abc002.mp3, abc003.mp3, in the same order. Same for the def dir, except to def001.mp3, etc…

How do I do this? I was searching for solutions, but they all seem to be PCManFM version dependent.

‘ rename ‘ command ..It is recognized as a file [duplicate]

This question already has an answer here:

  • Rename command not found when running a script 1 answer

I am trying to rename files in src folder bitcoin/src by using :

find . -exec rename 's/bitcoin/altcoin/' {} ";" 

also tried :

find ./ -type f -readable -writable -exec rename -e 's/bitcoin/altcoin/g' {} \; 

and I got this :

find: ‘rename’: No such file or directory 

I am trying to fork bitcoin to my own altcoin , using ubuntu 18.04 ! so What’s the peoblem ? and how can I fix it ! thank you .