コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Dispatcher flush path folder getting deleted along with files

Avatar

Level 1

We want to delete all the files inside en folder and not a single file something on the lines of /content/geometrixx/en/* and not delete the folder en along with it.

 

We have different permutations and combinations of CQ-Action and CQ-Path of /usr/bin/curl -k -X POST -s -H'CQ-Action: Delete' -H "CQ-Path:/content/path/en" -H'Referer: about:flush' https://servername/dispatcher/invalidate_only

 

Kinldy Help!!!

 

Regards

Arvind

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

Try with

 

/usr/bin/curl -v --header 'Host: dispflush' \
-H "CQ-Action: Delete" \
-H "CQ-Handle: /content/path/en" \
-H "CQ-Path: /content/path/en" \
-H "Content-Length: 0" \
-H "Content-Type: application/octet-stream" \
http://localhost:80/dispatcher/invalidate.cache

Arun Patidar

AEM LinksLinkedIn

元の投稿で解決策を見る

2 返信

Avatar

Employee

Avatar

正解者
Community Advisor

Try with

 

/usr/bin/curl -v --header 'Host: dispflush' \
-H "CQ-Action: Delete" \
-H "CQ-Handle: /content/path/en" \
-H "CQ-Path: /content/path/en" \
-H "Content-Length: 0" \
-H "Content-Type: application/octet-stream" \
http://localhost:80/dispatcher/invalidate.cache

Arun Patidar

AEM LinksLinkedIn