Файлы в linux
Найти способ на php либо командной строкой в линуксе определить является ли файл файлом или жеской ссылкой на файл. Изначально я думал, что это определить невозможно. Но потом провел эксперимент. Создал файл размером 6мб и 6500 эеских ссылок на него, они именуются 0.s, 1.s. ... 64999.s. Видим по скрину, что все они занимают одну и туже иноду в линуксе. Но вот с размером папки получилось интересно, она занимает всего 6мб, вместо положенного 1Гб.

-
Здравствуйте.
А директива -samefile Вам не подходит для поиска жёстких ссылок?
-
На стаковерфлоу ответят бесплатно
-
Current freelance projects in the category PHP
Development of a WordPress website
23 USD
We are looking for a contractor to develop a custom website on WordPress for a jewelry store. The first stage will be a consultation. Content Management Systems, PHP ∙ 2 hours 24 minutes back ∙ 24 proposals |
The WooCommerce cart (WordPress) is broken — it does not add products and the cart page does not open.On the website of the online store https://www.dobryi-gospodar.com/ (WordPress + WooCommerce), the checkout function has completely stopped working. When clicking the "Add to cart" button (both in the product card and in the catalog), a long loading process begins (the indicator… Content Management Systems, PHP ∙ 4 hours 11 minutes back ∙ 42 proposals |
Product search function by imageIt is necessary to develop and integrate a product search function by image on the website.What needs to be implementedA "Search by Photo" button on the website.Image upload by the user: JPG.Search for visually similar products in the catalog.Display results in the form of… PHP, Web Programming ∙ 11 hours 38 minutes back ∙ 33 proposals |
Parser expireddomains.net
113 USD
A parser is needed for expireddomains.net. You need to log in to the site first; the problem is that it blocks the IP when trying to parse data. You need to parse thematic domains based on a list of keywords. If you are not confident in your abilities, please do not write. PHP, Web Programming ∙ 2 days 10 hours back ∙ 50 proposals |
Integration of payment service with Sales Force
70 USD
There is a payment system widget on the site that needs to be integrated with Salesforce so that all required parameters are visible on the Salesforce side. It needs to be done in such a way that all payments and subscriptions are controlled through Salesforce. PHP, Web Programming ∙ 2 days 14 hours back ∙ 41 proposals |