change direction in a Unix-based operating system with special character. in folder name

I want to go to a directory. in an Ubuntu server.

Problem: The name of the folder is @w$#

It's in / Volumes /


$ pwd
/Volumes

$ ls -a
.       ..      @w$#        hdd

I can not go inside the @ w $ #.

NOTES:

As well, completion tab OR drag and drop it will not work. (src: https://askubuntu.com/a/101602)

Plus, I think I should not delete / Hard disk or even the / Volumes.

Create a folder structure from a loop in a SharePoint library with the help of JavaScript

The requirement is to create a folder structure from a table in a SharePoint library with the help of JavaScript. Below the desired structure:

var ary = (A,B,C)

A -> Fldr1 -> Fldr2 -> File
B -> Fldr1 -> Fldr2 -> File
C -> Fldr1 -> Fldr2 -> File

But currently, its creation folder A, B and C in the library but its internal structure is being created for C only.

So the result is:

A 
B 
C -> Fldr1 -> Fldr2 -> File

The code below works perfectly when only one element of the array is used, but fails when multiple elements. Here I check if the folder exists, then check level 2, if it does not exist, create it first and so on for the remaining structure.

 async function processArray(selectedCountries) {
await selectedCountries.map(async (item) => {       
  let promiseCntry = await checkCntryFolder(item);       
    if(flag){ //if cntry exists                      
         let promiseChckfolder = await checkFolder(tdmrkNm);
                if(flagFldr)//if folder exists
                {                           
                    let promiseChkSubFolder =  await checkSubFolder(appStatus);
                        if(flagSub)//if sub -folder exists
                        {                                    
                             let createFile =  await CreateFileInSideFolder();
                        }
                        else
                        {                                
                            let promiseCreateSub =  await createSubFolder(appStatus);                                        
                            let createFile =  await CreateFileInSideFolder();
                        }                   
                }
                else//if folder doesn't exist
                {                            
                         let createFldr =  await createFolder(tdmrkNm);
                         let promiseChkSubFolder =  await checkSubFolder(appStatus);
                            if(flagSub)
                            {                                               
                                let createFile =  await CreateFileInSideFolder();   
                            }
                            else
                            {                                    
                                let promiseCreateSub =  await createSubFolder(appStatus);
                                let createFile =  await CreateFileInSideFolder();   
                            } 
                }
        }
        else//if cntry doesn't exist
        {                    
                 let createCntry = await createCntryFolder(item);             
                 let promiseChckfolder =  await checkFolder(tdmrkNm);                                               
                    if(flagFldr)//if folder exists
                    {                                 
                         let promiseChkSubFolder =  await checkSubFolder(appStatus);
                            if(flagSub) //if sub-folder exists
                            {                                            
                                let createFile =  await CreateFileInSideFolder();       
                            }
                            else //if sub-folder doesn't exist
                            {                                                                           
                                 let promiseCreateSub =  await createSubFolder(appStatus);                                            
                                 let createFile =  await CreateFileInSideFolder();
                            }                                           
                    }
                    else //if folder doesn't exist
                    {                           

                         let createFldr =  await createFolder(tdmrkNm);
                         let promiseChkSubFolder =  await checkSubFolder(appStatus);
                                if(flagSub)//if sub-folder exists
                                { 
                                    let createFile = await CreateFileInSideFolder();
                                }
                                else//if sub-folder doesn't exist
                                { 
                                    let promiseCreateSub =  await createSubFolder(appStatus);
                                    let createFile =  await CreateFileInSideFolder();   
                                } 

                    }   
        }

    });
  }
}

SQL Server – Connection to an existing database fails – the folder itself is readonly

Having found no solution to the network problems that I suddenly encountered, I uninstalled MSQE but left the MDF files in place. I then reinstalled a new 2014 year and started it with a test database from a BAK file.

Now, I want to re-attach the original databases. When I try, I receive:

CREATE FILE has encountered operating system error 5 (access is denied.) When attempting to open or create the physical file … & # 39;. (Microsoft SQL Server, error: 5123)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=12.00.2269&EvtSrc=MSSQLServer&EvtID=5123&LinkId=20476

The URL is, of course, broken. After some research on Google, I found that it was really a permissions error. So I went to the DATA folder (which, in their feverish imagination, thought putting this in Program Files was a good idea?) And I found that the file was read-only.

I then clicked on the read-only control, applied it, then got new properties and it was read-only again. I do not manage to get that "sticky", assuming it's the fundamental problem in the first place.

Does anyone have any ideas here?

finder – Creates a script to create a folder + moves files to the created folder

I am looking to create a service in Automator so that when I select multiple files in the Finder, I can, with one click, create a new folder and move the selected files into this newly created folder. This action may include a step that will ask me to name this folder, but it is not required. An idea?

macos – Folder screen with a question mark MacBook Pro 2009 – a held option displays my mouse

My MacBook Pro 2009 (A1278) has a problem. When I turn it on, it displays a flashing folder with a question mark. I've tried most of the options I've seen, none of them showing any sign of doing anything:

  • Command and R simply shows the missing file
  • Command Option and R Displays the Missing Folder
  • NVRAM Reset does not do anything

The only thing that shows signs of progress is to hold down the Option key after turning on the power. It shows an empty screen with a mouse cursor that I can move.

Very rarely, it shows a glowing globe with some kind of hard drive underneath, but it disappears again in a few seconds in the mouse cursor.

I've even tried putting an external hard drive formatted for Mac, but my MacBook does not recognize it at all.

Is this a problem with the cable plugged into another SSD while I have an external SSD? I have no idea.

I have another MacBook with me that has helped reformat the external hard drive for Mac.

How can I solve this problem?

apache – How can I change uppercase to lowercase URL letters in htaccess for a specific folder?

I'm a little stuck, so thank you for any help!

In short, I try to convert one or the other of the two examples (I already have mod_rewrite from first to second). I just want it to apply to https://www.example.com/wiki/ folder.

convert either:

https://www.example.com/wiki/index.php?title=Links_Frequently_Requested

https://www.example.com/wiki/Links_Frequently_Requested/

in:

https://www.example.com/wiki/links_frequently_requested/

The rewrite that I already have is the following one, but it will not let break.

RewriteCond %{REQUEST_URI}  wiki
RewriteCond %{REQUEST_URI}  index.php
RewriteCond %{QUERY_STRING} ^title=(.*)
RewriteRule ^(.*)$ https://www.example.com/wiki/%1/? (R=302,L)

finder – How to make a network folder remember its size and location

I have two folders on my NAS that are shared between macs. However, it seems that each time the viewfinder restarts or disconnects, Mojave completely forgets their size and location when I reopen them.

Is there a way to get the researcher to know where and how much they need to open shared network folders?

I've found some articles on how to open new Finder windows in a size / location (which does not cause me any problem) … but nothing on how to resolve network folders.

windows – Two files of the same name in the same folder

I just notice that I have two files with the same name in the same folder:

enter the description of the image here

How is it possible? I've checked the suggested properties here, but the "Location" is actually the same … I can open both files and move them to the same directory without any problem … What's going on ? Does this mean that my hard drive is down or something?

How to redirect a folder to another website in nginx?

Ubuntu 16.04
version of nginx: nginx / 1.16.1

I'm trying to redirect traffic from the folder / dealers to a new website,

https://www.domain.tld/dealers/aff.php?aff=8 => https://fqdn.domain.tld/aff.php?aff=8

In my Nginx file, I tried various combinations without success …

location /dealers/ {
  return 301 https://fqdn.domain.tld/$1;
}

location /dealers/ {
  return 301 https://fqdn.domain.tld$1;
}

gmail – Automatic download link in an email to a folder on the desktop

Our provider sends reports by e-mail with a link to pdf instead of attaching them

Any means that I can automate to download it directly into a desktop folder. In the end, I need these attachments to print. Sometimes there is a linked pdf and sometimes there is 25. It takes forever to open them individually and print them.
Thank you for your time and ideas.