finder – An easy way to bulk change the folder icons on Mac

To change the icon of a MAC folder, simply:

  • Open the image
  • Copy the image from the menu ("Edit" -> "Copy")
  • Right click on the folder and click on "Get information"
  • Click on the icon at the top left
  • "Edit" -> "Paste" in the menu

At this point, I want to bulk edit the icons of all my (sub) folders (for example, in a specific main folder). How is this possible with an existing script or software? Some notes and additional questions below:

  • Please note that images are saved in the subfolders and that they are
    unique.
  • On Windows, you can simply change the hidden file of each folder called desktop.ini. Can we use an .ico file for this? This would be useful if there are images in the folder (jpeg and png) and a single icon (ico)

java – Why TFS ignores the bin folder in EDI eclipse, how to include it?

I'm trying to run my testng.xml file via Jenkins using the following commands.

set projectLocation = D:  test
cd% projectLocation%
set classpath =% projectLocation%  bin;% projectLocation%  lib  *
java org.testng.TestNG% projectLocation%  testng.xml
pause

But this throws below the error in the console

[TestNG] [ERROR] Can not find the class in classpath: Tests.testfilename

This problem is caused by the fact that the class files are not transferred to the tfs.repository. I would like to know why in Eclipse, TFS ignores class files and how to include them. Enter the description of the image here.

I have attached the image for reference

What the Linux shell deletes the file and the folder if the condition is met

I come from a novice by learning the Linux shell. So I have to do below:
Check the name of the "Backup" folder if there are files and folders longer than 7 days -> delete (delete folder and files) under CentOS.
I have to create a script how?

windows – How can I create a folder such as C: / "folder name", access D: / "folder name" without changing the location. (Linking)

I had a folder at C: Steam steamapps common that was on D: Steam steamapps common.

So, Steam would download files into the C drive but the games would install on D.

I've corrected that with a command in cmd, steam still thinks it's the same folder on C: but in reality, the files were stored on D :.

When I updated Windows, the feature disappeared, the games began to install on drive C and clicking on the folder would open C: Steam steamapps common instead of D: Steam steamapps common.

I know I managed to do that with a cmd command but I do not know what I did, can someone help me?

I do not try to change the location of the download but only the installation, I want steam to use D instead of C but use C for the download.

mysql – the mysqld folder is missing in / var / run in Ubuntu 18.04

I've installed php and all dependencies but mysql does not work.
so I started by giving the following command

mysql -u root -p

and I get the following answer

Enter the password:
ERROR 2002 (HY000): Can not connect to local MySQL server via socket /var/run/mysqld/mysqld.sock' (2)

Also, when I go to / var / run, there is no folder with the name mysqld

cd / var / run / mysqld
bash: cd: / var / run / mysqld: No such file or directory

Look at that

cd / var / run
aq @ DevilsBook: / var / run $ ls
acpid.pid console installation dhclient-wlo1.pid initctl mount rsyslogd.pid user sudo
acpid.socket crond.pid dmeventd-client network initramfs sendigs.omit.d systemd utmp
alsa crond.reboot dmeventd-server lock NetworkManager shm thermald uuidd
apache2 cryptsetup fsck php log snapd-snap.socket tmpfiles.d wpa_supplicant
cups avahi-daemon gdm3 lvm plymouth snapd.socket udev
blkid dbus gdm3.pid lvmetad.pid pppconfig spice-vdagentd udisks2

Otherwise, there is a folder named mysql and mysql-upgrade in / var / lib.

    cd / var / lib
aq @ DevilsBook: / var / lib $ ls
AccountsService colord Locale gconf os-prober sudo ureadahead
acpi-support command-not-found-gdm3 lockdown PackageKit systemd usb_modeswitch
alsa dbus geoclue logrotate pam ubiquity usbutils
apache2 dhcp ghostscript php-man ubuntu-drivers-common vim
app-info dictionaries-common git misc plymouth ubuntu-release-upgrade whoopsie
apt dkms mlocate hp polkit-1 ucf xfonts
aspell dpkg initramfs-tools private mysql udisks2 xkb
avahi-autoip emacsen-common ispell mysql upgrade python update-manager
bluetooth free network OfficeManager snapd update-notify
boltd fwupdate libxml-sax-pearl nginx snmp upower

How can I locate the folder and package to eliminate this problem?

.htaccess – How to properly disable the execution of scripts in a folder?

I have this folder path: pulic_html / user / 269851516 /in the file /user/ I have many subfolders created when the user creates an account. They can download avatars in this folder. I want to disable the execution of scripts in this folder. So I created a .htaccess and put in public_html / user /:


    
    
    
    SetHandler none
SetHandler default manager

Options -ExecCGI
php_flag turns off the engine
RemoveHandler .cgi .php .php3 .php4 .php5 .phtml .pl .py .pyc .pyo

with this code in my .htaccess nobody can execute scripts in this folder (for example …).
I've been looking a little bit about it and I've found different ways to do it. So I do not know if I did it properly and it's missing something.

Change the URL of the index without creating a separate folder

Is it possible to change the default path of the index page?

Example
site.com displays the index page
site.com/custom I want to display the index page here

macos – How to manually "drop" files into a folder, quickly, only with the help of the keyboard

I am working on setting up a paperless filing system. Although there are several things in place, one of the things that slows me down the most is putting a scanned file in the right folder. Finding the folder, then dragging the file is really tedious when I look at a bunch of documents to file.

What would be much better is that if I could "file" a file without touching the trackpad, that is to say, use only the keyboard, but I'm puzzled as to the procedure to follow.

My configuration

Inspired by the ebook Without paperI use the following elements:

  • Fuji ix500 Scanner
  • Simple folder structure with MacOS and Finder (with the OCR features of the software bundled with the Fuji scanner associated with the Mac OS search capabilities, I can find just about every file I just need using the search)
  • Hazel, to automatically extract dates from the contents of files and sometimes move them.

What I've tried

I started defining Hazel rules to capture the majority of the documents I was filing. The advantage of this is that if Hazel searches in a file containing, for example, the name of my mortgage company, the file will automatically be transferred to the file of my mortgage company.

The disadvantage of this approach is that it is tedious to define each rule and that many documents are sufficiently unique to not justify the establishment of a rule. So, the process boils down to two things:

  1. Name the file
  2. Place the file in the appropriate subfolder

I can speed up naming the file with tools like Text Expander, but I do not understand how to speed up the file's ranking in the right subfolder.

What I as to do is something like this:

  1. Have the file selected in the Finder.
  2. Tap the space bar to preview the content to learn how to name it.
  3. Press Enter to edit the name.
  4. Edit the name and press Enter.
  5. [this is the part that doesn’t exist yet….] Tap a shortcut to display a text box asking where I want to move the file.
  6. I start typing and autocomplete starts to shrink folders.
  7. I go to the right folder and press Enter.
  8. The file is moved to the folder I chose.
  9. The next file in the viewfinder is now selected so that I can file it quickly (back to step 2).

I would be willing to try Apple Script if it allowed me to reach my goal, but I'm not even sure Apple Script can help us with this stuff.

So, to rephrase my original question, what is the quick way to "file" a file manually in a folder of my machine only using the keyboard?

workflow – Copy / move from one folder to another

You can do this manually by using the "Site Content and Structure" page in the site settings.

OR ELSE

When copying and pasting large amounts of data between lists or between folders in a list, it is useful to create custom data sheet views in the source and destination lists that display only the columns. that you must copy. These columns are all editable – that is, not generated by the system / read-only. You must also make sure that the order of the columns in both views matches. If your list of destinations is the same as your source, all you need is the single view of the custom data sheet. Using this technique, you can copy and paste all data rows in the view at the same time.

To find out if a column is read-only, select a cell in the normal datasheet view. If read-only, a read-only status appears in the lower right corner of the datasheet view.

To copy the data into your scenario, you must:

  • Create a view containing all the columns you want to copy, ensuring that none is read-only.
  • Open two browser windows, one showing the source folder and the other, the destination folder.
  • View both folders in the newly created custom data sheet view
  • Select all items from the source folder and click copy
  • Select the first cell of the first available row in the destination folder and click Paste.
  • All your articles must be copied successfully. Once you have verified that the data has been successfully copied to the destination folder, you can then delete the rows from the source folder.

It works fine as long as you do not need to copy the content generated by the system. If you need to keep the data in the Created By field, for example, the solution would be more complex and could be as simple as creating a Custom Author field to paste the Created By data and using the List Views / Data Display Web Part. to view the content. content, or could involve code writing.


Using SPD

Start only your copy list item workflow Whenever an article is changed.

Write the first condition as:

If the status is "approved"
then
Move objects

So, whenever your item is approved, the workflow for items in the copy list begins and your items are moved.

For reference SharePoint 2007 and SharePoint 2010.

In case, these actions / workflow conditions do not work (Bcoz of a version will not work).

Use these conditions:

Sample workflow and custom activity wsp. Rename the attached .wsp.txt file to .wsp and deploy it.

Deployment steps -
- Install WSP
- Enable WebApplication Feature for Deployment of Activities

Use -
- In SPD, the custom action will be visible during the deployment.
- Add a custom action "Copy an item from the list between folders"
- Set the item to "Current item"
- In Folder To, type the name of the folder in which the document is to be copied.

ssl – Why does moving to a secure folder (httpsdocs) cancel the PHP file download function?

Server Version: Apache / 2.4.34 (Unix)

I'm trying to use an existing SSL certificate for multiple subdirectories of one domain, but the domain architecture separates two directories for non-secure / secure:

httpdocs
httpsdocs

I have everything copied from httpdocs to httpsdocs and I have also forced traffic to https using .htaccess. Everything worked fine until I tried the PHP file download feature.

Here is the piece of code that fails on the secure side:

$ path = "upload_files /".$ row_query[0]. & # 39; / & # 39 ;. $ file_name;
copy ($ tempfile, $ path);

By debugging, I found that the temporary file was created:
/ tmp / phpanKT4N

but the mistake I see in the newspapers is this:
copy (upload_files / New Sub Folder / 30052_testing.txt): failed to open the stream: permission denied in /var/www/vhosts/.com/httpsdocs/demo/resource/add_resource.php on line 108

I've tried to change copy () to move_uploaded_file () but here is the error for that:

PHP warning: move_uploaded_file (upload_files / test / 30054_testing.txt): failed to open stream: no such file or directory in / var / www / vhosts /.com / httpsdocs / demo / resource / add_resource.php on line 111
PHP warning: move_uploaded_file (): unable to move "/ tmp / phpOC9YEF" to "upload_files / test / 30054_testing.txt" in / var / www / vhosts /.com / httpsdocs / demo / resource / add_resource.php on line 111

I've searched for stack and saw that the property must match, but the permissions seem to be the same for httpdocs and httpsdocs.

The / tmp folder belongs to root: root and, as I said, it works perfectly from the unsecured folder. Unsecured and secure download folders are the same:

httpdocs:

drwxrwxr-x + 8 theuser apache 4096 September 22, 2015 upload_files

httpsdocs:

drwxrwxr-x + 8 theuser apache 4096 September 22, 2015 upload_files

Is it a configuration, a problem with permissions or what?