Is it possible to rearrange files and directories within a file using Unix and if so, how?

I’ve seen code allowing the names of files to be rearranged within a Terminal window but I’m wondering if by using Unix code it is possible to alphabetize or sort files and directories within a folder without using the UI options within the folder toolbars.

disk structures – SQL Server Logical Device for Directories

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.




Where to get/ buy list of directories? Submission help?

Where do you suggest to buy or find new directories?
Perhaps I can buy them at decent price?
Any users (and where) I can find for help with submission?

100 Google Maps citation manual permanent backlinks rank your website for $1

100 Google Maps citation manual permanent backlinks rank your website

100 Google Maps citation manual permanent backlinks rank your websiteGoogle maps citation are most important for you website and google business page because it must help you to rank in google first page and bring more traffic and increate your visibility on google.

I am google maps citation expert i have completed many project on another market place if you want i can show you sample of my previous clients

What you will get from my service:

  • 100% Manual work
  • Unlimited revision
  • Live link
  • 100% safe your website
  • Must rank your website
  • Get more web traffic
  • Fast Delivery
  • Full time freelancer
  • 24/7 days support

What i need from you to do this job:

  1. Your website url
  2. Company name/Title
  3. Short Description
  4. Logo
  5. Google maps location
  6. Full address

If you need any sample or ask any question about my service then just send me an sms. I must reply you soon

Buyer satisfaction is my first priority
I am ready to work for you

Thank you

.

Article Writing and Submission in Top 20 Article Directories

After massive response and successful services in past on various other forums, I am here again with packages for Article Writing and Submission in Top 20 directories with the procedure that will help you to rank your websites higher in search engines.

Package1:

5 Articles Writing + Spinning + Submission in Top 20 Article Directories = 55 USD

Package2:

10 Articles Writing + Spinning + Submission in Top 20 Article Directories = 100 USD
SEMrush

Package3:

20 Articles Writing + Spinning + Submission in Top 20 Article Directories = 180 USD

==========================
Required Details:

1 URL +1 keyword(anchor) for each article (you may provide multiple anchors text (keywords) for the same URL for rotation )

Your email address for the submission report.

Edit:
Payments will be accepted through paypal

 

beginner – Generate a find command with pruned directories based on a config file

The idea is to perform indexing of filetrees while excluding certain directories. I want to give the user a simple conf file instead of having to edit the script itself.
This is what I came up with:

conf.file:

cache
home/files

program:

#!/usr/bin/env bash

function get_opts {
        while read opt
        do
        echo "-path /data/data/com.termux/$opt -prune -o \" >> fn_temp
        done < conf.file
}

function build_search_fn {
        touch fn_temp
        echo "function do_search {" > fn_temp
        echo "find /data/data/com.termux \" >> fn_temp
        get_opts
        echo "-print" >> fn_temp
        echo "}" >> fn_temp
}

build_search_fn
source fn_temp
do_search >> output

It does what I want, but I have a strong feeling that it’s not the ‘proper’ way of doing it. Besides the obvious lack of putting the base path into variables and some errorhandling I’m eager to learn about other approaches to do this.

How to rsync only specific directories and all their subdirectories and files?

Let’s say I have something like

/path/to/dir1/[...]
/and/path/to/dir2/[...]

on

/

And I’d only like to rsync those two and everything they contain to

/backup/

So after rsync I have a copy of them in

/backup/path/to/dir1/[...]
/backup/and/path/to/dir2/[...]

I’ve played around with –include-from=/etc/rsync-backup.conf, –files-from==/etc/rsync-backup.conf iterated through all “include file” layouts, I could imagine, including all those ‘‘ and ‘**’ variants, with ‘+’ in front and without, but I failed miserably.

So: What needs to be in /etc/rsync-backup.conf and how does rsync have to be called to only backup /path/to/dir1/[…] and /and/path/to/dir2/[…]?

powershell – Copying files into certain directories based on filename

At first, I don’t really have any real touchpoints with Batch and / or Powershell. Nevertheless, I have set up an employee directory for which I am now looking for a solution, which documents are automatically copied into the mentioned directory via script.

The documents to be copied are currently all in one folder and should be copied into the respective subfolder of the directory. The file names of the documents are structured as follows.

Example: ABCD_123456_1234567_12345_XX.pdf /

Also: ABCD_123456_1234567_12345_XXXX.pdf /

XX / XXXX in this case the variables that play a role in the assignment.

The target directories also contain these. There are currently about fifty different ones.

The question now arises to me whether there is a possibility when reading out only to point to the variables between the third underscore and the .fileext, as these vary and possibly a three-digit and / or five-digit variable is added.

I have already used the search function but found nothing that exactly corresponds to the given example.:

C: / ABCD_123456_1234567_12345_99-> 11/17/19/1991 Directory 99_ABCD
C: / ABCD_123456_1234567_12345_9999-> 11/17/19/1991 Directory 9999_ABCD
possibly

C: / ABCD_123456_1234567_12345_999 -> 11/17/19/1991 directory 999_ABCD
C: / ABCD_123456_1234567_12345_99999 -> 11/17/19/1991 Directory 99999_ABCD
etc.

Maybe someone on here has an idea.

Apache combine basic auth logins for both proxy and directories

I’m using Apache as a front for Grafana and am using the basicauth to log onto the server. The server also has several files in a directory that I want to access through basicauth. I can make both happen separately, but I would like to log in only once, instead of having to enter the username and password for both uses. The segment below is used to make the Grafana login happen. What can I do to also make the same login gain access to a directory? Is this even possible at all?

<VirtualHost *:80>
    ServerAdmin webmaster@authproxy
    ServerName authproxy
    ErrorLog "logs/authproxy-error_log"
    CustomLog "logs/authproxy-access_log" common


    <Proxy *>
        AuthType Basic
        AuthName GrafanaAuthProxy
        AuthBasicProvider file
        AuthUserFile C:path-to-htpasswdfile
        Require valid-user

        RewriteEngine On
        RewriteRule .* - [E=PROXY_USER:%{LA-U:REMOTE_USER},NS]
        RequestHeader set X-WEBAUTH-USER "%{PROXY_USER}e"

    </Proxy>

    RequestHeader unset Authorization

    ProxyRequests Off
    ProxyPass / http://tolocalserver/
    ProxyPassReverse / http://tolocalserver/

microsoft excel – Can I copy multiple files from single folder to multiple folders in windows ? I have destination folders directories

Can I copy multiple files from single folders to multiple folder in windows ? I have destination folders directories

Example

I have a folder with few pdf files
Now I want to move each pdf file to relevant other folder.
I have list of destination folders (Full Path) in excel
And also have list of the names of pdf files in excel.

Any one can help me?